In RGB color space, #5a5a9f hex color has a red value of 90, a green value of 90 and a blue value of 159.
In CMYK color space (used in color printing), #5a5a9f hex color is composed of 43.4% cyan, 43.4% magenta, 0% yellow and 37.65% black.
#5a5a9f color has a hue of 240 degrees, a saturation of 27.71% and a lightness of 48.8%.
#5a5a9f hex color contains mainly BLUE.
The closest web safe color of #5a5a9f is #666699
#5a5a9f hex color has a decimal value of 5921439.
HEX | 5a5a9f | #5a5a9f |
---|---|---|
RGB | 90, 90, 159 | rgb(90, 90, 159) |
RGB Percent | 35.29, 35.29, 62.35 | rgb(35.29, 35.29, 62.35) |
CMYK | 43, 43, 0, 38 | |
HSL | 240°, 27.71, 48.8 | hsl(240, 27.71%, 48.8%) |
HSV | 240°, 43.4, 62.4 |
XYZ | 14.131, 11.989, 34.37 |
---|---|
Hunter Lab | 34.625, 12.254, -34.616 |
CIE-LAB | 41.199, 18.334, -37.558 |
CIE-LCH | 41.199, 41.794, 296.019 |
CIE-LUV | 43.4, 43.4, 0, 37.65 |
Web Safe | 666699 |
RGB percent of color #5a5a9f
CMYK percent of color #5a5a9f
Text with hexadecimal color #5a5a9f
This text has a font color of #5a5a9f
<p style="color:#5a5a9f">Text here</p>
#5a5a9f Background Color
This box has a background color of #5a5a9f
<div style="background-color:#5a5a9f">Text here</div>
#5a5a9f Border Color
This box has a border color of #5a5a9f
<div style="border: 4px solid #5a5a9f">Text here</div>
CSS codes
<p style="color:#5a5a9f">Text here</p>
<div style="background-color:#5a5a9f">Text here</div>
<div style="border: 4px solid #5a5a9f">Text here</div>
#5a5a9f Color on white background
This is how a font and box color of #5a5a9f will look
on a white background.
#5a5a9f Color on black background
This is how a font and box color of #5a5a9f hex color will look
on a black background.