In RGB color space, #5f5b98 hex color has a red value of 95, a green value of 91 and a blue value of 152.
In CMYK color space (used in color printing), #5f5b98 hex color is composed of 37.5% cyan, 40.13% magenta, 0% yellow and 40.39% black.
#5f5b98 color has a hue of 243.9 degrees, a saturation of 25.1% and a lightness of 47.6%.
#5f5b98 hex color contains mainly BLUE.
The closest web safe color of #5f5b98 is #666699
#5f5b98 hex color has a decimal value of 6249368.
HEX | 5f5b98 | #5f5b98 |
---|---|---|
RGB | 95, 91, 152 | rgb(95, 91, 152) |
RGB Percent | 37.25, 35.69, 59.61 | rgb(37.25, 35.69, 59.61) |
CMYK | 38, 40, 0, 40 | |
HSL | 243.9°, 25.1, 47.6 | hsl(243.9, 25.1%, 47.6%) |
HSV | 243.9°, 40.1, 59.6 |
XYZ | 14.128, 12.182, 31.313 |
---|---|
Hunter Lab | 34.903, 11.174, -28.76 |
CIE-LAB | 41.504, 16.999, -32.869 |
CIE-LCH | 41.504, 37.005, 297.347 |
CIE-LUV | 37.5, 40.13, 0, 40.39 |
Web Safe | 666699 |
RGB percent of color #5f5b98
CMYK percent of color #5f5b98
Text with hexadecimal color #5f5b98
This text has a font color of #5f5b98
<p style="color:#5f5b98">Text here</p>
#5f5b98 Background Color
This box has a background color of #5f5b98
<div style="background-color:#5f5b98">Text here</div>
#5f5b98 Border Color
This box has a border color of #5f5b98
<div style="border: 4px solid #5f5b98">Text here</div>
CSS codes
<p style="color:#5f5b98">Text here</p>
<div style="background-color:#5f5b98">Text here</div>
<div style="border: 4px solid #5f5b98">Text here</div>
#5f5b98 Color on white background
This is how a font and box color of #5f5b98 will look
on a white background.
#5f5b98 Color on black background
This is how a font and box color of #5f5b98 hex color will look
on a black background.