In RGB color space, #5f5797 hex color has a red value of 95, a green value of 87 and a blue value of 151.
In CMYK color space (used in color printing), #5f5797 hex color is composed of 37.09% cyan, 42.38% magenta, 0% yellow and 40.78% black.
#5f5797 color has a hue of 247.5 degrees, a saturation of 26.89% and a lightness of 46.7%.
#5f5797 hex color contains mainly BLUE.
The closest web safe color of #5f5797 is #666699
#5f5797 hex color has a decimal value of 6248343.
HEX | 5f5797 | #5f5797 |
---|---|---|
RGB | 95, 87, 151 | rgb(95, 87, 151) |
RGB Percent | 37.25, 34.12, 59.22 | rgb(37.25, 34.12, 59.22) |
CMYK | 37, 42, 0, 41 | |
HSL | 247.5°, 26.89, 46.7 | hsl(247.5, 26.89%, 46.7%) |
HSV | 247.5°, 42.4, 59.2 |
XYZ | 13.713, 11.484, 30.772 |
---|---|
Hunter Lab | 33.888, 12.927, -30.117 |
CIE-LAB | 40.384, 19.207, -34.035 |
CIE-LCH | 40.384, 39.081, 299.437 |
CIE-LUV | 37.09, 42.38, 0, 40.78 |
Web Safe | 666699 |
RGB percent of color #5f5797
CMYK percent of color #5f5797
Text with hexadecimal color #5f5797
This text has a font color of #5f5797
<p style="color:#5f5797">Text here</p>
#5f5797 Background Color
This box has a background color of #5f5797
<div style="background-color:#5f5797">Text here</div>
#5f5797 Border Color
This box has a border color of #5f5797
<div style="border: 4px solid #5f5797">Text here</div>
CSS codes
<p style="color:#5f5797">Text here</p>
<div style="background-color:#5f5797">Text here</div>
<div style="border: 4px solid #5f5797">Text here</div>
#5f5797 Color on white background
This is how a font and box color of #5f5797 will look
on a white background.
#5f5797 Color on black background
This is how a font and box color of #5f5797 hex color will look
on a black background.