In RGB color space, #5f5098 hex color has a red value of 95, a green value of 80 and a blue value of 152.
In CMYK color space (used in color printing), #5f5098 hex color is composed of 37.5% cyan, 47.37% magenta, 0% yellow and 40.39% black.
#5f5098 color has a hue of 252.5 degrees, a saturation of 31.03% and a lightness of 45.5%.
#5f5098 hex color contains mainly BLUE.
The closest web safe color of #5f5098 is #666699
#5f5098 hex color has a decimal value of 6246552.
HEX | 5f5098 | #5f5098 |
---|---|---|
RGB | 95, 80, 152 | rgb(95, 80, 152) |
RGB Percent | 37.25, 31.37, 59.61 | rgb(37.25, 31.37, 59.61) |
CMYK | 38, 47, 0, 40 | |
HSL | 252.5°, 31.03, 45.5 | hsl(252.5, 31.03%, 45.5%) |
HSV | 252.5°, 47.4, 59.6 |
XYZ | 13.255, 10.437, 31.022 |
---|---|
Hunter Lab | 32.306, 16.701, -34.318 |
CIE-LAB | 38.616, 23.877, -37.438 |
CIE-LCH | 38.616, 44.404, 302.529 |
CIE-LUV | 37.5, 47.37, 0, 40.39 |
Web Safe | 666699 |
RGB percent of color #5f5098
CMYK percent of color #5f5098
Text with hexadecimal color #5f5098
This text has a font color of #5f5098
<p style="color:#5f5098">Text here</p>
#5f5098 Background Color
This box has a background color of #5f5098
<div style="background-color:#5f5098">Text here</div>
#5f5098 Border Color
This box has a border color of #5f5098
<div style="border: 4px solid #5f5098">Text here</div>
CSS codes
<p style="color:#5f5098">Text here</p>
<div style="background-color:#5f5098">Text here</div>
<div style="border: 4px solid #5f5098">Text here</div>
#5f5098 Color on white background
This is how a font and box color of #5f5098 will look
on a white background.
#5f5098 Color on black background
This is how a font and box color of #5f5098 hex color will look
on a black background.