In RGB color space, #5f51ff hex color has a red value of 95, a green value of 81 and a blue value of 255.
In CMYK color space (used in color printing), #5f51ff hex color is composed of 62.75% cyan, 68.24% magenta, 0% yellow and 0% black.
#5f51ff color has a hue of 244.8 degrees, a saturation of 100% and a lightness of 65.9%.
#5f51ff hex color contains mainly BLUE.
The closest web safe color of #5f51ff is #6666ff
#5f51ff hex color has a decimal value of 6246911.
HEX | 5f51ff | #5f51ff |
---|---|---|
RGB | 95, 81, 255 | rgb(95, 81, 255) |
RGB Percent | 37.25, 31.76, 100 | rgb(37.25, 31.76, 100) |
CMYK | 63, 68, 0, 0 | |
HSL | 244.8°, 100, 65.9 | hsl(244.8, 100%, 65.9%) |
HSV | 244.8°, 68.2, 100 |
XYZ | 25.712, 15.538, 96.252 |
---|---|
Hunter Lab | 39.418, 47.451, -117.182 |
CIE-LAB | 46.362, 54.568, -84.425 |
CIE-LCH | 46.362, 100.525, 302.877 |
CIE-LUV | 62.75, 68.24, 0, 0 |
Web Safe | 6666ff |
RGB percent of color #5f51ff
CMYK percent of color #5f51ff
Text with hexadecimal color #5f51ff
This text has a font color of #5f51ff
<p style="color:#5f51ff">Text here</p>
#5f51ff Background Color
This box has a background color of #5f51ff
<div style="background-color:#5f51ff">Text here</div>
#5f51ff Border Color
This box has a border color of #5f51ff
<div style="border: 4px solid #5f51ff">Text here</div>
CSS codes
<p style="color:#5f51ff">Text here</p>
<div style="background-color:#5f51ff">Text here</div>
<div style="border: 4px solid #5f51ff">Text here</div>
#5f51ff Color on white background
This is how a font and box color of #5f51ff will look
on a white background.
#5f51ff Color on black background
This is how a font and box color of #5f51ff hex color will look
on a black background.