In RGB color space, #5a4f87 hex color has a red value of 90, a green value of 79 and a blue value of 135.
In CMYK color space (used in color printing), #5a4f87 hex color is composed of 33.33% cyan, 41.48% magenta, 0% yellow and 47.06% black.
#5a4f87 color has a hue of 251.8 degrees, a saturation of 26.17% and a lightness of 42%.
#5a4f87 hex color contains mainly BLUE.
The closest web safe color of #5a4f87 is #666699
#5a4f87 hex color has a decimal value of 5918599.
HEX | 5a4f87 | #5a4f87 |
---|---|---|
RGB | 90, 79, 135 | rgb(90, 79, 135) |
RGB Percent | 35.29, 30.98, 52.94 | rgb(35.29, 30.98, 52.94) |
CMYK | 33, 41, 0, 47 | |
HSL | 251.8°, 26.17, 42 | hsl(251.8, 26.17%, 42%) |
HSV | 251.8°, 41.5, 52.9 |
XYZ | 11.386, 9.515, 24.158 |
---|---|
Hunter Lab | 30.846, 11.907, -24.842 |
CIE-LAB | 36.958, 18.214, -29.771 |
CIE-LCH | 36.958, 34.901, 301.458 |
CIE-LUV | 33.33, 41.48, 0, 47.06 |
Web Safe | 666699 |
RGB percent of color #5a4f87
CMYK percent of color #5a4f87
Text with hexadecimal color #5a4f87
This text has a font color of #5a4f87
<p style="color:#5a4f87">Text here</p>
#5a4f87 Background Color
This box has a background color of #5a4f87
<div style="background-color:#5a4f87">Text here</div>
#5a4f87 Border Color
This box has a border color of #5a4f87
<div style="border: 4px solid #5a4f87">Text here</div>
CSS codes
<p style="color:#5a4f87">Text here</p>
<div style="background-color:#5a4f87">Text here</div>
<div style="border: 4px solid #5a4f87">Text here</div>
#5a4f87 Color on white background
This is how a font and box color of #5a4f87 will look
on a white background.
#5a4f87 Color on black background
This is how a font and box color of #5a4f87 hex color will look
on a black background.