In RGB color space, #5f4187 hex color has a red value of 95, a green value of 65 and a blue value of 135.
In CMYK color space (used in color printing), #5f4187 hex color is composed of 29.63% cyan, 51.85% magenta, 0% yellow and 47.06% black.
#5f4187 color has a hue of 265.7 degrees, a saturation of 35% and a lightness of 39.2%.
#5f4187 hex color contains mainly BLUE.
The closest web safe color of #5f4187 is #663399
#5f4187 hex color has a decimal value of 6242695.
HEX | 5f4187 | #5f4187 |
---|---|---|
RGB | 95, 65, 135 | rgb(95, 65, 135) |
RGB Percent | 37.25, 25.49, 52.94 | rgb(37.25, 25.49, 52.94) |
CMYK | 30, 52, 0, 47 | |
HSL | 265.7°, 35, 39.2 | hsl(265.7, 35%, 39.2%) |
HSV | 265.7°, 51.9, 52.9 |
XYZ | 10.983, 7.963, 23.88 |
---|---|
Hunter Lab | 28.219, 20.091, -30.421 |
CIE-LAB | 33.906, 28.426, -34.567 |
CIE-LCH | 33.906, 44.754, 309.432 |
CIE-LUV | 29.63, 51.85, 0, 47.06 |
Web Safe | 663399 |
RGB percent of color #5f4187
CMYK percent of color #5f4187
Text with hexadecimal color #5f4187
This text has a font color of #5f4187
<p style="color:#5f4187">Text here</p>
#5f4187 Background Color
This box has a background color of #5f4187
<div style="background-color:#5f4187">Text here</div>
#5f4187 Border Color
This box has a border color of #5f4187
<div style="border: 4px solid #5f4187">Text here</div>
CSS codes
<p style="color:#5f4187">Text here</p>
<div style="background-color:#5f4187">Text here</div>
<div style="border: 4px solid #5f4187">Text here</div>
#5f4187 Color on white background
This is how a font and box color of #5f4187 will look
on a white background.
#5f4187 Color on black background
This is how a font and box color of #5f4187 hex color will look
on a black background.