In RGB color space, #5f40e5 hex color has a red value of 95, a green value of 64 and a blue value of 229.
In CMYK color space (used in color printing), #5f40e5 hex color is composed of 58.52% cyan, 72.05% magenta, 0% yellow and 10.2% black.
#5f40e5 color has a hue of 251.3 degrees, a saturation of 76.04% and a lightness of 57.5%.
#5f40e5 hex color contains mainly BLUE.
The closest web safe color of #5f40e5 is #6633cc
#5f40e5 hex color has a decimal value of 6242533.
HEX | 5f40e5 | #5f40e5 |
---|---|---|
RGB | 95, 64, 229 | rgb(95, 64, 229) |
RGB Percent | 37.25, 25.1, 89.8 | rgb(37.25, 25.1, 89.8) |
CMYK | 59, 72, 0, 10 | |
HSL | 251.3°, 76.04, 57.5 | hsl(251.3, 76.04%, 57.5%) |
HSV | 251.3°, 72.1, 89.8 |
XYZ | 20.696, 11.757, 75.307 |
---|---|
Hunter Lab | 34.288, 47.735, -106.215 |
CIE-LAB | 40.827, 55.861, -78.892 |
CIE-LCH | 40.827, 96.666, 305.301 |
CIE-LUV | 58.52, 72.05, 0, 10.2 |
Web Safe | 6633cc |
RGB percent of color #5f40e5
CMYK percent of color #5f40e5
Text with hexadecimal color #5f40e5
This text has a font color of #5f40e5
<p style="color:#5f40e5">Text here</p>
#5f40e5 Background Color
This box has a background color of #5f40e5
<div style="background-color:#5f40e5">Text here</div>
#5f40e5 Border Color
This box has a border color of #5f40e5
<div style="border: 4px solid #5f40e5">Text here</div>
CSS codes
<p style="color:#5f40e5">Text here</p>
<div style="background-color:#5f40e5">Text here</div>
<div style="border: 4px solid #5f40e5">Text here</div>
#5f40e5 Color on white background
This is how a font and box color of #5f40e5 will look
on a white background.
#5f40e5 Color on black background
This is how a font and box color of #5f40e5 hex color will look
on a black background.