In RGB color space, #5a5a8b hex color has a red value of 90, a green value of 90 and a blue value of 139.
In CMYK color space (used in color printing), #5a5a8b hex color is composed of 35.25% cyan, 35.25% magenta, 0% yellow and 45.49% black.
#5a5a8b color has a hue of 240 degrees, a saturation of 21.4% and a lightness of 44.9%.
#5a5a8b hex color contains mainly BLUE.
The closest web safe color of #5a5a8b is #666699
#5a5a8b hex color has a decimal value of 5921419.
HEX | 5a5a8b | #5a5a8b |
---|---|---|
RGB | 90, 90, 139 | rgb(90, 90, 139) |
RGB Percent | 35.29, 35.29, 54.51 | rgb(35.29, 35.29, 54.51) |
CMYK | 35, 35, 0, 45 | |
HSL | 240°, 21.4, 44.9 | hsl(240, 21.4%, 44.9%) |
HSV | 240°, 35.3, 54.5 |
XYZ | 12.533, 11.35, 25.956 |
---|---|
Hunter Lab | 33.69, 7.447, -22.097 |
CIE-LAB | 40.164, 12.407, -27.176 |
CIE-LCH | 40.164, 29.874, 294.539 |
CIE-LUV | 35.25, 35.25, 0, 45.49 |
Web Safe | 666699 |
RGB percent of color #5a5a8b
CMYK percent of color #5a5a8b
Text with hexadecimal color #5a5a8b
This text has a font color of #5a5a8b
<p style="color:#5a5a8b">Text here</p>
#5a5a8b Background Color
This box has a background color of #5a5a8b
<div style="background-color:#5a5a8b">Text here</div>
#5a5a8b Border Color
This box has a border color of #5a5a8b
<div style="border: 4px solid #5a5a8b">Text here</div>
CSS codes
<p style="color:#5a5a8b">Text here</p>
<div style="background-color:#5a5a8b">Text here</div>
<div style="border: 4px solid #5a5a8b">Text here</div>
#5a5a8b Color on white background
This is how a font and box color of #5a5a8b will look
on a white background.
#5a5a8b Color on black background
This is how a font and box color of #5a5a8b hex color will look
on a black background.