In RGB color space, #5f5f98 hex color has a red value of 95, a green value of 95 and a blue value of 152.
In CMYK color space (used in color printing), #5f5f98 hex color is composed of 37.5% cyan, 37.5% magenta, 0% yellow and 40.39% black.
#5f5f98 color has a hue of 240 degrees, a saturation of 23.08% and a lightness of 48.4%.
#5f5f98 hex color contains mainly BLUE.
The closest web safe color of #5f5f98 is #666699
#5f5f98 hex color has a decimal value of 6250392.
HEX | 5f5f98 | #5f5f98 |
---|---|---|
RGB | 95, 95, 152 | rgb(95, 95, 152) |
RGB Percent | 37.25, 37.25, 59.61 | rgb(37.25, 37.25, 59.61) |
CMYK | 38, 38, 0, 40 | |
HSL | 240°, 23.08, 48.4 | hsl(240, 23.08%, 48.4%) |
HSV | 240°, 37.5, 59.6 |
XYZ | 14.479, 12.884, 31.43 |
---|---|
Hunter Lab | 35.894, 9.188, -26.79 |
CIE-LAB | 42.588, 14.502, -31.164 |
CIE-LCH | 42.588, 34.373, 294.955 |
CIE-LUV | 37.5, 37.5, 0, 40.39 |
Web Safe | 666699 |
RGB percent of color #5f5f98
CMYK percent of color #5f5f98
Text with hexadecimal color #5f5f98
This text has a font color of #5f5f98
<p style="color:#5f5f98">Text here</p>
#5f5f98 Background Color
This box has a background color of #5f5f98
<div style="background-color:#5f5f98">Text here</div>
#5f5f98 Border Color
This box has a border color of #5f5f98
<div style="border: 4px solid #5f5f98">Text here</div>
CSS codes
<p style="color:#5f5f98">Text here</p>
<div style="background-color:#5f5f98">Text here</div>
<div style="border: 4px solid #5f5f98">Text here</div>
#5f5f98 Color on white background
This is how a font and box color of #5f5f98 will look
on a white background.
#5f5f98 Color on black background
This is how a font and box color of #5f5f98 hex color will look
on a black background.