In RGB color space, #5f5a87 hex color has a red value of 95, a green value of 90 and a blue value of 135.
In CMYK color space (used in color printing), #5f5a87 hex color is composed of 29.63% cyan, 33.33% magenta, 0% yellow and 47.06% black.
#5f5a87 color has a hue of 246.7 degrees, a saturation of 20% and a lightness of 44.1%.
#5f5a87 hex color contains mainly BLUE.
The closest web safe color of #5f5a87 is #666699
#5f5a87 hex color has a decimal value of 6249095.
HEX | 5f5a87 | #5f5a87 |
---|---|---|
RGB | 95, 90, 135 | rgb(95, 90, 135) |
RGB Percent | 37.25, 35.29, 52.94 | rgb(37.25, 35.29, 52.94) |
CMYK | 30, 33, 0, 47 | |
HSL | 246.7°, 20, 44.1 | hsl(246.7, 20%, 44.1%) |
HSV | 246.7°, 33.3, 52.9 |
XYZ | 12.749, 11.494, 24.468 |
---|---|
Hunter Lab | 33.903, 7.794, -19.058 |
CIE-LAB | 40.4, 12.842, -24.351 |
CIE-LCH | 40.4, 27.53, 297.806 |
CIE-LUV | 29.63, 33.33, 0, 47.06 |
Web Safe | 666699 |
RGB percent of color #5f5a87
CMYK percent of color #5f5a87
Text with hexadecimal color #5f5a87
This text has a font color of #5f5a87
<p style="color:#5f5a87">Text here</p>
#5f5a87 Background Color
This box has a background color of #5f5a87
<div style="background-color:#5f5a87">Text here</div>
#5f5a87 Border Color
This box has a border color of #5f5a87
<div style="border: 4px solid #5f5a87">Text here</div>
CSS codes
<p style="color:#5f5a87">Text here</p>
<div style="background-color:#5f5a87">Text here</div>
<div style="border: 4px solid #5f5a87">Text here</div>
#5f5a87 Color on white background
This is how a font and box color of #5f5a87 will look
on a white background.
#5f5a87 Color on black background
This is how a font and box color of #5f5a87 hex color will look
on a black background.