In RGB color space, #5f40ff hex color has a red value of 95, a green value of 64 and a blue value of 255.
In CMYK color space (used in color printing), #5f40ff hex color is composed of 62.75% cyan, 74.9% magenta, 0% yellow and 0% black.
#5f40ff color has a hue of 249.7 degrees, a saturation of 100% and a lightness of 62.5%.
#5f40ff hex color contains mainly BLUE.
The closest web safe color of #5f40ff is #6633ff
#5f40ff hex color has a decimal value of 6242559.
HEX | 5f40ff | #5f40ff |
---|---|---|
RGB | 95, 64, 255 | rgb(95, 64, 255) |
RGB Percent | 37.25, 25.1, 100 | rgb(37.25, 25.1, 100) |
CMYK | 63, 75, 0, 0 | |
HSL | 249.7°, 100, 62.5 | hsl(249.7, 100%, 62.5%) |
HSV | 249.7°, 74.9, 100 |
XYZ | 24.603, 13.32, 95.882 |
---|---|
Hunter Lab | 36.497, 56.461, -130.216 |
CIE-LAB | 43.242, 63.303, -89.56 |
CIE-LCH | 43.242, 109.673, 305.254 |
CIE-LUV | 62.75, 74.9, 0, 0 |
Web Safe | 6633ff |
RGB percent of color #5f40ff
CMYK percent of color #5f40ff
Text with hexadecimal color #5f40ff
This text has a font color of #5f40ff
<p style="color:#5f40ff">Text here</p>
#5f40ff Background Color
This box has a background color of #5f40ff
<div style="background-color:#5f40ff">Text here</div>
#5f40ff Border Color
This box has a border color of #5f40ff
<div style="border: 4px solid #5f40ff">Text here</div>
CSS codes
<p style="color:#5f40ff">Text here</p>
<div style="background-color:#5f40ff">Text here</div>
<div style="border: 4px solid #5f40ff">Text here</div>
#5f40ff Color on white background
This is how a font and box color of #5f40ff will look
on a white background.
#5f40ff Color on black background
This is how a font and box color of #5f40ff hex color will look
on a black background.