In RGB color space, #5a508a hex color has a red value of 90, a green value of 80 and a blue value of 138.
In CMYK color space (used in color printing), #5a508a hex color is composed of 34.78% cyan, 42.03% magenta, 0% yellow and 45.88% black.
#5a508a color has a hue of 250.3 degrees, a saturation of 26.61% and a lightness of 42.7%.
#5a508a hex color contains mainly BLUE.
The closest web safe color of #5a508a is #666699
#5a508a hex color has a decimal value of 5918858.
HEX | 5a508a | #5a508a |
---|---|---|
RGB | 90, 80, 138 | rgb(90, 80, 138) |
RGB Percent | 35.29, 31.37, 54.12 | rgb(35.29, 31.37, 54.12) |
CMYK | 35, 42, 0, 46 | |
HSL | 250.3°, 26.61, 42.7 | hsl(250.3, 26.61%, 42.7%) |
HSV | 250.3°, 42, 54.1 |
XYZ | 11.673, 9.746, 25.311 |
---|---|
Hunter Lab | 31.219, 12.111, -26.217 |
CIE-LAB | 37.383, 18.436, -30.935 |
CIE-LCH | 37.383, 36.012, 300.793 |
CIE-LUV | 34.78, 42.03, 0, 45.88 |
Web Safe | 666699 |
RGB percent of color #5a508a
CMYK percent of color #5a508a
Text with hexadecimal color #5a508a
This text has a font color of #5a508a
<p style="color:#5a508a">Text here</p>
#5a508a Background Color
This box has a background color of #5a508a
<div style="background-color:#5a508a">Text here</div>
#5a508a Border Color
This box has a border color of #5a508a
<div style="border: 4px solid #5a508a">Text here</div>
CSS codes
<p style="color:#5a508a">Text here</p>
<div style="background-color:#5a508a">Text here</div>
<div style="border: 4px solid #5a508a">Text here</div>
#5a508a Color on white background
This is how a font and box color of #5a508a will look
on a white background.
#5a508a Color on black background
This is how a font and box color of #5a508a hex color will look
on a black background.