In RGB color space, #5f5897 hex color has a red value of 95, a green value of 88 and a blue value of 151.
In CMYK color space (used in color printing), #5f5897 hex color is composed of 37.09% cyan, 41.72% magenta, 0% yellow and 40.78% black.
#5f5897 color has a hue of 246.7 degrees, a saturation of 26.36% and a lightness of 46.9%.
#5f5897 hex color contains mainly BLUE.
The closest web safe color of #5f5897 is #666699
#5f5897 hex color has a decimal value of 6248599.
HEX | 5f5897 | #5f5897 |
---|---|---|
RGB | 95, 88, 151 | rgb(95, 88, 151) |
RGB Percent | 37.25, 34.51, 59.22 | rgb(37.25, 34.51, 59.22) |
CMYK | 37, 42, 0, 41 | |
HSL | 246.7°, 26.36, 46.9 | hsl(246.7, 26.36%, 46.9%) |
HSV | 246.7°, 41.7, 59.2 |
XYZ | 13.795, 11.647, 30.799 |
---|---|
Hunter Lab | 34.128, 12.429, -29.618 |
CIE-LAB | 40.649, 18.584, -33.616 |
CIE-LCH | 40.649, 38.411, 298.935 |
CIE-LUV | 37.09, 41.72, 0, 40.78 |
Web Safe | 666699 |
RGB percent of color #5f5897
CMYK percent of color #5f5897
Text with hexadecimal color #5f5897
This text has a font color of #5f5897
<p style="color:#5f5897">Text here</p>
#5f5897 Background Color
This box has a background color of #5f5897
<div style="background-color:#5f5897">Text here</div>
#5f5897 Border Color
This box has a border color of #5f5897
<div style="border: 4px solid #5f5897">Text here</div>
CSS codes
<p style="color:#5f5897">Text here</p>
<div style="background-color:#5f5897">Text here</div>
<div style="border: 4px solid #5f5897">Text here</div>
#5f5897 Color on white background
This is how a font and box color of #5f5897 will look
on a white background.
#5f5897 Color on black background
This is how a font and box color of #5f5897 hex color will look
on a black background.