In RGB color space, #5a508b hex color has a red value of 90, a green value of 80 and a blue value of 139.
In CMYK color space (used in color printing), #5a508b hex color is composed of 35.25% cyan, 42.45% magenta, 0% yellow and 45.49% black.
#5a508b color has a hue of 250.2 degrees, a saturation of 26.94% and a lightness of 42.9%.
#5a508b hex color contains mainly BLUE.
The closest web safe color of #5a508b is #666699
#5a508b hex color has a decimal value of 5918859.
HEX | 5a508b | #5a508b |
---|---|---|
RGB | 90, 80, 139 | rgb(90, 80, 139) |
RGB Percent | 35.29, 31.37, 54.51 | rgb(35.29, 31.37, 54.51) |
CMYK | 35, 42, 0, 45 | |
HSL | 250.2°, 26.94, 42.9 | hsl(250.2, 26.94%, 42.9%) |
HSV | 250.2°, 42.4, 54.5 |
XYZ | 11.745, 9.775, 25.694 |
---|---|
Hunter Lab | 31.265, 12.342, -26.84 |
CIE-LAB | 37.436, 18.718, -31.461 |
CIE-LCH | 37.436, 36.608, 300.751 |
CIE-LUV | 35.25, 42.45, 0, 45.49 |
Web Safe | 666699 |
RGB percent of color #5a508b
CMYK percent of color #5a508b
Text with hexadecimal color #5a508b
This text has a font color of #5a508b
<p style="color:#5a508b">Text here</p>
#5a508b Background Color
This box has a background color of #5a508b
<div style="background-color:#5a508b">Text here</div>
#5a508b Border Color
This box has a border color of #5a508b
<div style="border: 4px solid #5a508b">Text here</div>
CSS codes
<p style="color:#5a508b">Text here</p>
<div style="background-color:#5a508b">Text here</div>
<div style="border: 4px solid #5a508b">Text here</div>
#5a508b Color on white background
This is how a font and box color of #5a508b will look
on a white background.
#5a508b Color on black background
This is how a font and box color of #5a508b hex color will look
on a black background.