In RGB color space, #5f51e5 hex color has a red value of 95, a green value of 81 and a blue value of 229.
In CMYK color space (used in color printing), #5f51e5 hex color is composed of 58.52% cyan, 64.63% magenta, 0% yellow and 10.2% black.
#5f51e5 color has a hue of 245.7 degrees, a saturation of 74% and a lightness of 60.8%.
#5f51e5 hex color contains mainly BLUE.
The closest web safe color of #5f51e5 is #6666cc
#5f51e5 hex color has a decimal value of 6246885.
HEX | 5f51e5 | #5f51e5 |
---|---|---|
RGB | 95, 81, 229 | rgb(95, 81, 229) |
RGB Percent | 37.25, 31.76, 89.8 | rgb(37.25, 31.76, 89.8) |
CMYK | 59, 65, 0, 10 | |
HSL | 245.7°, 74, 60.8 | hsl(245.7, 74%, 60.8%) |
HSV | 245.7°, 64.6, 89.8 |
XYZ | 21.805, 13.975, 75.677 |
---|---|
Hunter Lab | 37.383, 38.696, -93.856 |
CIE-LAB | 44.197, 46.615, -73.372 |
CIE-LCH | 44.197, 86.928, 302.429 |
CIE-LUV | 58.52, 64.63, 0, 10.2 |
Web Safe | 6666cc |
RGB percent of color #5f51e5
CMYK percent of color #5f51e5
Text with hexadecimal color #5f51e5
This text has a font color of #5f51e5
<p style="color:#5f51e5">Text here</p>
#5f51e5 Background Color
This box has a background color of #5f51e5
<div style="background-color:#5f51e5">Text here</div>
#5f51e5 Border Color
This box has a border color of #5f51e5
<div style="border: 4px solid #5f51e5">Text here</div>
CSS codes
<p style="color:#5f51e5">Text here</p>
<div style="background-color:#5f51e5">Text here</div>
<div style="border: 4px solid #5f51e5">Text here</div>
#5f51e5 Color on white background
This is how a font and box color of #5f51e5 will look
on a white background.
#5f51e5 Color on black background
This is how a font and box color of #5f51e5 hex color will look
on a black background.