In RGB color space, #5f51eb hex color has a red value of 95, a green value of 81 and a blue value of 235.
In CMYK color space (used in color printing), #5f51eb hex color is composed of 59.57% cyan, 65.53% magenta, 0% yellow and 7.84% black.
#5f51eb color has a hue of 245.5 degrees, a saturation of 79.38% and a lightness of 62%.
#5f51eb hex color contains mainly BLUE.
The closest web safe color of #5f51eb is #6666ff
#5f51eb hex color has a decimal value of 6246891.
HEX | 5f51eb | #5f51eb |
---|---|---|
RGB | 95, 81, 235 | rgb(95, 81, 235) |
RGB Percent | 37.25, 31.76, 92.16 | rgb(37.25, 31.76, 92.16) |
CMYK | 60, 66, 0, 8 | |
HSL | 245.5°, 79.38, 62 | hsl(245.5, 79.38%, 62%) |
HSV | 245.5°, 65.5, 92.2 |
XYZ | 22.657, 14.316, 80.166 |
---|---|
Hunter Lab | 37.836, 40.674, -99.135 |
CIE-LAB | 44.683, 48.458, -75.97 |
CIE-LCH | 44.683, 90.109, 302.532 |
CIE-LUV | 59.57, 65.53, 0, 7.84 |
Web Safe | 6666ff |
RGB percent of color #5f51eb
CMYK percent of color #5f51eb
Text with hexadecimal color #5f51eb
This text has a font color of #5f51eb
<p style="color:#5f51eb">Text here</p>
#5f51eb Background Color
This box has a background color of #5f51eb
<div style="background-color:#5f51eb">Text here</div>
#5f51eb Border Color
This box has a border color of #5f51eb
<div style="border: 4px solid #5f51eb">Text here</div>
CSS codes
<p style="color:#5f51eb">Text here</p>
<div style="background-color:#5f51eb">Text here</div>
<div style="border: 4px solid #5f51eb">Text here</div>
#5f51eb Color on white background
This is how a font and box color of #5f51eb will look
on a white background.
#5f51eb Color on black background
This is how a font and box color of #5f51eb hex color will look
on a black background.