In RGB color space, #5e40d2 hex color has a red value of 94, a green value of 64 and a blue value of 210.
In CMYK color space (used in color printing), #5e40d2 hex color is composed of 55.24% cyan, 69.52% magenta, 0% yellow and 17.65% black.
#5e40d2 color has a hue of 252.3 degrees, a saturation of 61.86% and a lightness of 53.7%.
#5e40d2 hex color contains mainly BLUE.
The closest web safe color of #5e40d2 is #6633cc
#5e40d2 hex color has a decimal value of 6176978.
HEX | 5e40d2 | #5e40d2 |
---|---|---|
RGB | 94, 64, 210 | rgb(94, 64, 210) |
RGB Percent | 36.86, 25.1, 82.35 | rgb(36.86, 25.1, 82.35) |
CMYK | 55, 70, 0, 18 | |
HSL | 252.3°, 61.86, 53.7 | hsl(252.3, 61.86%, 53.7%) |
HSV | 252.3°, 69.5, 82.4 |
XYZ | 18.082, 10.7, 62.085 |
---|---|
Hunter Lab | 32.711, 41.428, -89.634 |
CIE-LAB | 39.071, 50.194, -70.897 |
CIE-LCH | 39.071, 86.867, 305.298 |
CIE-LUV | 55.24, 69.52, 0, 17.65 |
Web Safe | 6633cc |
RGB percent of color #5e40d2
CMYK percent of color #5e40d2
Text with hexadecimal color #5e40d2
This text has a font color of #5e40d2
<p style="color:#5e40d2">Text here</p>
#5e40d2 Background Color
This box has a background color of #5e40d2
<div style="background-color:#5e40d2">Text here</div>
#5e40d2 Border Color
This box has a border color of #5e40d2
<div style="border: 4px solid #5e40d2">Text here</div>
CSS codes
<p style="color:#5e40d2">Text here</p>
<div style="background-color:#5e40d2">Text here</div>
<div style="border: 4px solid #5e40d2">Text here</div>
#5e40d2 Color on white background
This is how a font and box color of #5e40d2 will look
on a white background.
#5e40d2 Color on black background
This is how a font and box color of #5e40d2 hex color will look
on a black background.