In RGB color space, #5a5a9b hex color has a red value of 90, a green value of 90 and a blue value of 155.
In CMYK color space (used in color printing), #5a5a9b hex color is composed of 41.94% cyan, 41.94% magenta, 0% yellow and 39.22% black.
#5a5a9b color has a hue of 240 degrees, a saturation of 26.53% and a lightness of 48%.
#5a5a9b hex color contains mainly BLUE.
The closest web safe color of #5a5a9b is #666699
#5a5a9b hex color has a decimal value of 5921435.
HEX | 5a5a9b | #5a5a9b |
---|---|---|
RGB | 90, 90, 155 | rgb(90, 90, 155) |
RGB Percent | 35.29, 35.29, 60.78 | rgb(35.29, 35.29, 60.78) |
CMYK | 42, 42, 0, 39 | |
HSL | 240°, 26.53, 48 | hsl(240, 26.53%, 48%) |
HSV | 240°, 41.9, 60.8 |
XYZ | 13.789, 11.853, 32.571 |
---|---|
Hunter Lab | 34.428, 11.243, -31.992 |
CIE-LAB | 40.982, 17.115, -35.514 |
CIE-LCH | 40.982, 39.423, 295.73 |
CIE-LUV | 41.94, 41.94, 0, 39.22 |
Web Safe | 666699 |
RGB percent of color #5a5a9b
CMYK percent of color #5a5a9b
Text with hexadecimal color #5a5a9b
This text has a font color of #5a5a9b
<p style="color:#5a5a9b">Text here</p>
#5a5a9b Background Color
This box has a background color of #5a5a9b
<div style="background-color:#5a5a9b">Text here</div>
#5a5a9b Border Color
This box has a border color of #5a5a9b
<div style="border: 4px solid #5a5a9b">Text here</div>
CSS codes
<p style="color:#5a5a9b">Text here</p>
<div style="background-color:#5a5a9b">Text here</div>
<div style="border: 4px solid #5a5a9b">Text here</div>
#5a5a9b Color on white background
This is how a font and box color of #5a5a9b will look
on a white background.
#5a5a9b Color on black background
This is how a font and box color of #5a5a9b hex color will look
on a black background.