In RGB color space, #5a5f9f hex color has a red value of 90, a green value of 95 and a blue value of 159.
In CMYK color space (used in color printing), #5a5f9f hex color is composed of 43.4% cyan, 40.25% magenta, 0% yellow and 37.65% black.
#5a5f9f color has a hue of 235.7 degrees, a saturation of 27.71% and a lightness of 48.8%.
#5a5f9f hex color contains mainly BLUE.
The closest web safe color of #5a5f9f is #666699
#5a5f9f hex color has a decimal value of 5922719.
HEX | 5a5f9f | #5a5f9f |
---|---|---|
RGB | 90, 95, 159 | rgb(90, 95, 159) |
RGB Percent | 35.29, 37.25, 62.35 | rgb(35.29, 37.25, 62.35) |
CMYK | 43, 40, 0, 38 | |
HSL | 235.7°, 27.71, 48.8 | hsl(235.7, 27.71%, 48.8%) |
HSV | 235.7°, 43.4, 62.4 |
XYZ | 14.567, 12.861, 34.516 |
---|---|
Hunter Lab | 35.862, 9.747, -31.961 |
CIE-LAB | 42.553, 15.192, -35.416 |
CIE-LCH | 42.553, 38.537, 293.217 |
CIE-LUV | 43.4, 40.25, 0, 37.65 |
Web Safe | 666699 |
RGB percent of color #5a5f9f
CMYK percent of color #5a5f9f
Text with hexadecimal color #5a5f9f
This text has a font color of #5a5f9f
<p style="color:#5a5f9f">Text here</p>
#5a5f9f Background Color
This box has a background color of #5a5f9f
<div style="background-color:#5a5f9f">Text here</div>
#5a5f9f Border Color
This box has a border color of #5a5f9f
<div style="border: 4px solid #5a5f9f">Text here</div>
CSS codes
<p style="color:#5a5f9f">Text here</p>
<div style="background-color:#5a5f9f">Text here</div>
<div style="border: 4px solid #5a5f9f">Text here</div>
#5a5f9f Color on white background
This is how a font and box color of #5a5f9f will look
on a white background.
#5a5f9f Color on black background
This is how a font and box color of #5a5f9f hex color will look
on a black background.