In RGB color space, #5a5a8f hex color has a red value of 90, a green value of 90 and a blue value of 143.
In CMYK color space (used in color printing), #5a5a8f hex color is composed of 37.06% cyan, 37.06% magenta, 0% yellow and 43.92% black.
#5a5a8f color has a hue of 240 degrees, a saturation of 22.75% and a lightness of 45.7%.
#5a5a8f hex color contains mainly BLUE.
The closest web safe color of #5a5a8f is #666699
#5a5a8f hex color has a decimal value of 5921423.
HEX | 5a5a8f | #5a5a8f |
---|---|---|
RGB | 90, 90, 143 | rgb(90, 90, 143) |
RGB Percent | 35.29, 35.29, 56.08 | rgb(35.29, 35.29, 56.08) |
CMYK | 37, 37, 0, 44 | |
HSL | 240°, 22.75, 45.7 | hsl(240, 22.75%, 45.7%) |
HSV | 240°, 37.1, 56.1 |
XYZ | 12.831, 11.469, 27.524 |
---|---|
Hunter Lab | 33.866, 8.364, -24.481 |
CIE-LAB | 40.359, 13.566, -29.287 |
CIE-LCH | 40.359, 32.276, 294.854 |
CIE-LUV | 37.06, 37.06, 0, 43.92 |
Web Safe | 666699 |
RGB percent of color #5a5a8f
CMYK percent of color #5a5a8f
Text with hexadecimal color #5a5a8f
This text has a font color of #5a5a8f
<p style="color:#5a5a8f">Text here</p>
#5a5a8f Background Color
This box has a background color of #5a5a8f
<div style="background-color:#5a5a8f">Text here</div>
#5a5a8f Border Color
This box has a border color of #5a5a8f
<div style="border: 4px solid #5a5a8f">Text here</div>
CSS codes
<p style="color:#5a5a8f">Text here</p>
<div style="background-color:#5a5a8f">Text here</div>
<div style="border: 4px solid #5a5a8f">Text here</div>
#5a5a8f Color on white background
This is how a font and box color of #5a5a8f will look
on a white background.
#5a5a8f Color on black background
This is how a font and box color of #5a5a8f hex color will look
on a black background.