In RGB color space, #5a5a8d hex color has a red value of 90, a green value of 90 and a blue value of 141.
In CMYK color space (used in color printing), #5a5a8d hex color is composed of 36.17% cyan, 36.17% magenta, 0% yellow and 44.71% black.
#5a5a8d color has a hue of 240 degrees, a saturation of 22.08% and a lightness of 45.3%.
#5a5a8d hex color contains mainly BLUE.
The closest web safe color of #5a5a8d is #666699
#5a5a8d hex color has a decimal value of 5921421.
HEX | 5a5a8d | #5a5a8d |
---|---|---|
RGB | 90, 90, 141 | rgb(90, 90, 141) |
RGB Percent | 35.29, 35.29, 55.29 | rgb(35.29, 35.29, 55.29) |
CMYK | 36, 36, 0, 45 | |
HSL | 240°, 22.08, 45.3 | hsl(240, 22.08%, 45.3%) |
HSV | 240°, 36.2, 55.3 |
XYZ | 12.68, 11.409, 26.733 |
---|---|
Hunter Lab | 33.777, 7.899, -23.281 |
CIE-LAB | 40.261, 12.98, -28.233 |
CIE-LCH | 40.261, 31.074, 294.69 |
CIE-LUV | 36.17, 36.17, 0, 44.71 |
Web Safe | 666699 |
RGB percent of color #5a5a8d
CMYK percent of color #5a5a8d
Text with hexadecimal color #5a5a8d
This text has a font color of #5a5a8d
<p style="color:#5a5a8d">Text here</p>
#5a5a8d Background Color
This box has a background color of #5a5a8d
<div style="background-color:#5a5a8d">Text here</div>
#5a5a8d Border Color
This box has a border color of #5a5a8d
<div style="border: 4px solid #5a5a8d">Text here</div>
CSS codes
<p style="color:#5a5a8d">Text here</p>
<div style="background-color:#5a5a8d">Text here</div>
<div style="border: 4px solid #5a5a8d">Text here</div>
#5a5a8d Color on white background
This is how a font and box color of #5a5a8d will look
on a white background.
#5a5a8d Color on black background
This is how a font and box color of #5a5a8d hex color will look
on a black background.