In RGB color space, #5f5297 hex color has a red value of 95, a green value of 82 and a blue value of 151.
In CMYK color space (used in color printing), #5f5297 hex color is composed of 37.09% cyan, 45.7% magenta, 0% yellow and 40.78% black.
#5f5297 color has a hue of 251.3 degrees, a saturation of 29.61% and a lightness of 45.7%.
#5f5297 hex color contains mainly BLUE.
The closest web safe color of #5f5297 is #666699
#5f5297 hex color has a decimal value of 6247063.
HEX | 5f5297 | #5f5297 |
---|---|---|
RGB | 95, 82, 151 | rgb(95, 82, 151) |
RGB Percent | 37.25, 32.16, 59.22 | rgb(37.25, 32.16, 59.22) |
CMYK | 37, 46, 0, 41 | |
HSL | 251.3°, 29.61, 45.7 | hsl(251.3, 29.61%, 45.7%) |
HSV | 251.3°, 45.7, 59.2 |
XYZ | 13.323, 10.702, 30.642 |
---|---|
Hunter Lab | 32.714, 15.446, -32.635 |
CIE-LAB | 39.074, 22.344, -36.109 |
CIE-LCH | 39.074, 42.463, 301.749 |
CIE-LUV | 37.09, 45.7, 0, 40.78 |
Web Safe | 666699 |
RGB percent of color #5f5297
CMYK percent of color #5f5297
Text with hexadecimal color #5f5297
This text has a font color of #5f5297
<p style="color:#5f5297">Text here</p>
#5f5297 Background Color
This box has a background color of #5f5297
<div style="background-color:#5f5297">Text here</div>
#5f5297 Border Color
This box has a border color of #5f5297
<div style="border: 4px solid #5f5297">Text here</div>
CSS codes
<p style="color:#5f5297">Text here</p>
<div style="background-color:#5f5297">Text here</div>
<div style="border: 4px solid #5f5297">Text here</div>
#5f5297 Color on white background
This is how a font and box color of #5f5297 will look
on a white background.
#5f5297 Color on black background
This is how a font and box color of #5f5297 hex color will look
on a black background.