In RGB color space, #5f5f99 hex color has a red value of 95, a green value of 95 and a blue value of 153.
In CMYK color space (used in color printing), #5f5f99 hex color is composed of 37.91% cyan, 37.91% magenta, 0% yellow and 40% black.
#5f5f99 color has a hue of 240 degrees, a saturation of 23.39% and a lightness of 48.6%.
#5f5f99 hex color contains mainly BLUE.
The closest web safe color of #5f5f99 is #666699
#5f5f99 hex color has a decimal value of 6250393.
HEX | 5f5f99 | #5f5f99 |
---|---|---|
RGB | 95, 95, 153 | rgb(95, 95, 153) |
RGB Percent | 37.25, 37.25, 60 | rgb(37.25, 37.25, 60) |
CMYK | 38, 38, 0, 40 | |
HSL | 240°, 23.39, 48.6 | hsl(240, 23.39%, 48.6%) |
HSV | 240°, 37.9, 60 |
XYZ | 14.561, 12.917, 31.863 |
---|---|
Hunter Lab | 35.94, 9.423, -27.406 |
CIE-LAB | 42.638, 14.79, -31.682 |
CIE-LCH | 42.638, 34.964, 295.024 |
CIE-LUV | 37.91, 37.91, 0, 40 |
Web Safe | 666699 |
RGB percent of color #5f5f99
CMYK percent of color #5f5f99
Text with hexadecimal color #5f5f99
This text has a font color of #5f5f99
<p style="color:#5f5f99">Text here</p>
#5f5f99 Background Color
This box has a background color of #5f5f99
<div style="background-color:#5f5f99">Text here</div>
#5f5f99 Border Color
This box has a border color of #5f5f99
<div style="border: 4px solid #5f5f99">Text here</div>
CSS codes
<p style="color:#5f5f99">Text here</p>
<div style="background-color:#5f5f99">Text here</div>
<div style="border: 4px solid #5f5f99">Text here</div>
#5f5f99 Color on white background
This is how a font and box color of #5f5f99 will look
on a white background.
#5f5f99 Color on black background
This is how a font and box color of #5f5f99 hex color will look
on a black background.