In RGB color space, #5f5898 hex color has a red value of 95, a green value of 88 and a blue value of 152.
In CMYK color space (used in color printing), #5f5898 hex color is composed of 37.5% cyan, 42.11% magenta, 0% yellow and 40.39% black.
#5f5898 color has a hue of 246.6 degrees, a saturation of 26.67% and a lightness of 47.1%.
#5f5898 hex color contains mainly BLUE.
The closest web safe color of #5f5898 is #666699
#5f5898 hex color has a decimal value of 6248600.
HEX | 5f5898 | #5f5898 |
---|---|---|
RGB | 95, 88, 152 | rgb(95, 88, 152) |
RGB Percent | 37.25, 34.51, 59.61 | rgb(37.25, 34.51, 59.61) |
CMYK | 38, 42, 0, 40 | |
HSL | 246.6°, 26.67, 47.1 | hsl(246.6, 26.67%, 47.1%) |
HSV | 246.6°, 42.1, 59.6 |
XYZ | 13.877, 11.679, 31.229 |
---|---|
Hunter Lab | 34.175, 12.677, -30.258 |
CIE-LAB | 40.701, 18.88, -34.134 |
CIE-LCH | 40.701, 39.007, 298.948 |
CIE-LUV | 37.5, 42.11, 0, 40.39 |
Web Safe | 666699 |
RGB percent of color #5f5898
CMYK percent of color #5f5898
Text with hexadecimal color #5f5898
This text has a font color of #5f5898
<p style="color:#5f5898">Text here</p>
#5f5898 Background Color
This box has a background color of #5f5898
<div style="background-color:#5f5898">Text here</div>
#5f5898 Border Color
This box has a border color of #5f5898
<div style="border: 4px solid #5f5898">Text here</div>
CSS codes
<p style="color:#5f5898">Text here</p>
<div style="background-color:#5f5898">Text here</div>
<div style="border: 4px solid #5f5898">Text here</div>
#5f5898 Color on white background
This is how a font and box color of #5f5898 will look
on a white background.
#5f5898 Color on black background
This is how a font and box color of #5f5898 hex color will look
on a black background.