In RGB color space, #5f5989 hex color has a red value of 95, a green value of 89 and a blue value of 137.
In CMYK color space (used in color printing), #5f5989 hex color is composed of 30.66% cyan, 35.04% magenta, 0% yellow and 46.27% black.
#5f5989 color has a hue of 247.5 degrees, a saturation of 21.24% and a lightness of 44.3%.
#5f5989 hex color contains mainly BLUE.
The closest web safe color of #5f5989 is #666699
#5f5989 hex color has a decimal value of 6248841.
HEX | 5f5989 | #5f5989 |
---|---|---|
RGB | 95, 89, 137 | rgb(95, 89, 137) |
RGB Percent | 37.25, 34.9, 53.73 | rgb(37.25, 34.9, 53.73) |
CMYK | 31, 35, 0, 46 | |
HSL | 247.5°, 21.24, 44.3 | hsl(247.5, 21.24%, 44.3%) |
HSV | 247.5°, 35, 53.7 |
XYZ | 12.807, 11.384, 25.189 |
---|---|
Hunter Lab | 33.74, 8.709, -20.645 |
CIE-LAB | 40.22, 14.007, -25.845 |
CIE-LCH | 40.22, 29.397, 298.456 |
CIE-LUV | 30.66, 35.04, 0, 46.27 |
Web Safe | 666699 |
RGB percent of color #5f5989
CMYK percent of color #5f5989
Text with hexadecimal color #5f5989
This text has a font color of #5f5989
<p style="color:#5f5989">Text here</p>
#5f5989 Background Color
This box has a background color of #5f5989
<div style="background-color:#5f5989">Text here</div>
#5f5989 Border Color
This box has a border color of #5f5989
<div style="border: 4px solid #5f5989">Text here</div>
CSS codes
<p style="color:#5f5989">Text here</p>
<div style="background-color:#5f5989">Text here</div>
<div style="border: 4px solid #5f5989">Text here</div>
#5f5989 Color on white background
This is how a font and box color of #5f5989 will look
on a white background.
#5f5989 Color on black background
This is how a font and box color of #5f5989 hex color will look
on a black background.