In RGB color space, #5f40d9 hex color has a red value of 95, a green value of 64 and a blue value of 217.
In CMYK color space (used in color printing), #5f40d9 hex color is composed of 56.22% cyan, 70.51% magenta, 0% yellow and 14.9% black.
#5f40d9 color has a hue of 252.2 degrees, a saturation of 66.81% and a lightness of 55.1%.
#5f40d9 hex color contains mainly BLUE.
The closest web safe color of #5f40d9 is #6633cc
#5f40d9 hex color has a decimal value of 6242521.
HEX | 5f40d9 | #5f40d9 |
---|---|---|
RGB | 95, 64, 217 | rgb(95, 64, 217) |
RGB Percent | 37.25, 25.1, 85.1 | rgb(37.25, 25.1, 85.1) |
CMYK | 56, 71, 0, 15 | |
HSL | 252.2°, 66.81, 55.1 | hsl(252.2, 66.81%, 55.1%) |
HSV | 252.2°, 70.5, 85.1 |
XYZ | 19.077, 11.109, 66.785 |
---|---|
Hunter Lab | 33.33, 43.839, -95.471 |
CIE-LAB | 39.763, 52.388, -73.786 |
CIE-LCH | 39.763, 90.492, 305.375 |
CIE-LUV | 56.22, 70.51, 0, 14.9 |
Web Safe | 6633cc |
RGB percent of color #5f40d9
CMYK percent of color #5f40d9
Text with hexadecimal color #5f40d9
This text has a font color of #5f40d9
<p style="color:#5f40d9">Text here</p>
#5f40d9 Background Color
This box has a background color of #5f40d9
<div style="background-color:#5f40d9">Text here</div>
#5f40d9 Border Color
This box has a border color of #5f40d9
<div style="border: 4px solid #5f40d9">Text here</div>
CSS codes
<p style="color:#5f40d9">Text here</p>
<div style="background-color:#5f40d9">Text here</div>
<div style="border: 4px solid #5f40d9">Text here</div>
#5f40d9 Color on white background
This is how a font and box color of #5f40d9 will look
on a white background.
#5f40d9 Color on black background
This is how a font and box color of #5f40d9 hex color will look
on a black background.