In RGB color space, #5f5a9c hex color has a red value of 95, a green value of 90 and a blue value of 156.
In CMYK color space (used in color printing), #5f5a9c hex color is composed of 39.1% cyan, 42.31% magenta, 0% yellow and 38.82% black.
#5f5a9c color has a hue of 244.5 degrees, a saturation of 26.83% and a lightness of 48.2%.
#5f5a9c hex color contains mainly BLUE.
The closest web safe color of #5f5a9c is #666699
#5f5a9c hex color has a decimal value of 6249116.
HEX | 5f5a9c | #5f5a9c |
---|---|---|
RGB | 95, 90, 156 | rgb(95, 90, 156) |
RGB Percent | 37.25, 35.29, 61.18 | rgb(37.25, 35.29, 61.18) |
CMYK | 39, 42, 0, 39 | |
HSL | 244.5°, 26.83, 48.2 | hsl(244.5, 26.83%, 48.2%) |
HSV | 244.5°, 42.3, 61.2 |
XYZ | 14.376, 12.146, 33.039 |
---|---|
Hunter Lab | 34.851, 12.641, -31.811 |
CIE-LAB | 41.447, 18.784, -35.349 |
CIE-LCH | 41.447, 40.03, 297.986 |
CIE-LUV | 39.1, 42.31, 0, 38.82 |
Web Safe | 666699 |
RGB percent of color #5f5a9c
CMYK percent of color #5f5a9c
Text with hexadecimal color #5f5a9c
This text has a font color of #5f5a9c
<p style="color:#5f5a9c">Text here</p>
#5f5a9c Background Color
This box has a background color of #5f5a9c
<div style="background-color:#5f5a9c">Text here</div>
#5f5a9c Border Color
This box has a border color of #5f5a9c
<div style="border: 4px solid #5f5a9c">Text here</div>
CSS codes
<p style="color:#5f5a9c">Text here</p>
<div style="background-color:#5f5a9c">Text here</div>
<div style="border: 4px solid #5f5a9c">Text here</div>
#5f5a9c Color on white background
This is how a font and box color of #5f5a9c will look
on a white background.
#5f5a9c Color on black background
This is how a font and box color of #5f5a9c hex color will look
on a black background.