In RGB color space, #5f5397 hex color has a red value of 95, a green value of 83 and a blue value of 151.
In CMYK color space (used in color printing), #5f5397 hex color is composed of 37.09% cyan, 45.03% magenta, 0% yellow and 40.78% black.
#5f5397 color has a hue of 250.6 degrees, a saturation of 29.06% and a lightness of 45.9%.
#5f5397 hex color contains mainly BLUE.
The closest web safe color of #5f5397 is #666699
#5f5397 hex color has a decimal value of 6247319.
HEX | 5f5397 | #5f5397 |
---|---|---|
RGB | 95, 83, 151 | rgb(95, 83, 151) |
RGB Percent | 37.25, 32.55, 59.22 | rgb(37.25, 32.55, 59.22) |
CMYK | 37, 45, 0, 41 | |
HSL | 250.6°, 29.06, 45.9 | hsl(250.6, 29.06%, 45.9%) |
HSV | 250.6°, 45, 59.2 |
XYZ | 13.398, 10.854, 30.667 |
---|---|
Hunter Lab | 32.945, 14.937, -32.128 |
CIE-LAB | 39.333, 21.712, -35.697 |
CIE-LCH | 39.333, 41.781, 301.309 |
CIE-LUV | 37.09, 45.03, 0, 40.78 |
Web Safe | 666699 |
RGB percent of color #5f5397
CMYK percent of color #5f5397
Text with hexadecimal color #5f5397
This text has a font color of #5f5397
<p style="color:#5f5397">Text here</p>
#5f5397 Background Color
This box has a background color of #5f5397
<div style="background-color:#5f5397">Text here</div>
#5f5397 Border Color
This box has a border color of #5f5397
<div style="border: 4px solid #5f5397">Text here</div>
CSS codes
<p style="color:#5f5397">Text here</p>
<div style="background-color:#5f5397">Text here</div>
<div style="border: 4px solid #5f5397">Text here</div>
#5f5397 Color on white background
This is how a font and box color of #5f5397 will look
on a white background.
#5f5397 Color on black background
This is how a font and box color of #5f5397 hex color will look
on a black background.