In RGB color space, #5f5f9a hex color has a red value of 95, a green value of 95 and a blue value of 154.
In CMYK color space (used in color printing), #5f5f9a hex color is composed of 38.31% cyan, 38.31% magenta, 0% yellow and 39.61% black.
#5f5f9a color has a hue of 240 degrees, a saturation of 23.69% and a lightness of 48.8%.
#5f5f9a hex color contains mainly BLUE.
The closest web safe color of #5f5f9a is #666699
#5f5f9a hex color has a decimal value of 6250394.
HEX | 5f5f9a | #5f5f9a |
---|---|---|
RGB | 95, 95, 154 | rgb(95, 95, 154) |
RGB Percent | 37.25, 37.25, 60.39 | rgb(37.25, 37.25, 60.39) |
CMYK | 38, 38, 0, 40 | |
HSL | 240°, 23.69, 48.8 | hsl(240, 23.69%, 48.8%) |
HSV | 240°, 38.3, 60.4 |
XYZ | 14.644, 12.95, 32.3 |
---|---|
Hunter Lab | 35.986, 9.662, -28.027 |
CIE-LAB | 42.688, 15.082, -32.2 |
CIE-LCH | 42.688, 35.557, 295.098 |
CIE-LUV | 38.31, 38.31, 0, 39.61 |
Web Safe | 666699 |
RGB percent of color #5f5f9a
CMYK percent of color #5f5f9a
Text with hexadecimal color #5f5f9a
This text has a font color of #5f5f9a
<p style="color:#5f5f9a">Text here</p>
#5f5f9a Background Color
This box has a background color of #5f5f9a
<div style="background-color:#5f5f9a">Text here</div>
#5f5f9a Border Color
This box has a border color of #5f5f9a
<div style="border: 4px solid #5f5f9a">Text here</div>
CSS codes
<p style="color:#5f5f9a">Text here</p>
<div style="background-color:#5f5f9a">Text here</div>
<div style="border: 4px solid #5f5f9a">Text here</div>
#5f5f9a Color on white background
This is how a font and box color of #5f5f9a will look
on a white background.
#5f5f9a Color on black background
This is how a font and box color of #5f5f9a hex color will look
on a black background.