In RGB color space, #5e40d1 hex color has a red value of 94, a green value of 64 and a blue value of 209.
In CMYK color space (used in color printing), #5e40d1 hex color is composed of 55.02% cyan, 69.38% magenta, 0% yellow and 18.04% black.
#5e40d1 color has a hue of 252.4 degrees, a saturation of 61.18% and a lightness of 53.5%.
#5e40d1 hex color contains mainly BLUE.
The closest web safe color of #5e40d1 is #6633cc
#5e40d1 hex color has a decimal value of 6176977.
HEX | 5e40d1 | #5e40d1 |
---|---|---|
RGB | 94, 64, 209 | rgb(94, 64, 209) |
RGB Percent | 36.86, 25.1, 81.96 | rgb(36.86, 25.1, 81.96) |
CMYK | 55, 69, 0, 18 | |
HSL | 252.4°, 61.18, 53.5 | hsl(252.4, 61.18%, 53.5%) |
HSV | 252.4°, 69.4, 82 |
XYZ | 17.958, 10.65, 61.431 |
---|---|
Hunter Lab | 32.634, 41.115, -88.764 |
CIE-LAB | 38.985, 49.906, -70.461 |
CIE-LCH | 38.985, 86.344, 305.309 |
CIE-LUV | 55.02, 69.38, 0, 18.04 |
Web Safe | 6633cc |
RGB percent of color #5e40d1
CMYK percent of color #5e40d1
Text with hexadecimal color #5e40d1
This text has a font color of #5e40d1
<p style="color:#5e40d1">Text here</p>
#5e40d1 Background Color
This box has a background color of #5e40d1
<div style="background-color:#5e40d1">Text here</div>
#5e40d1 Border Color
This box has a border color of #5e40d1
<div style="border: 4px solid #5e40d1">Text here</div>
CSS codes
<p style="color:#5e40d1">Text here</p>
<div style="background-color:#5e40d1">Text here</div>
<div style="border: 4px solid #5e40d1">Text here</div>
#5e40d1 Color on white background
This is how a font and box color of #5e40d1 will look
on a white background.
#5e40d1 Color on black background
This is how a font and box color of #5e40d1 hex color will look
on a black background.