In RGB color space, #5e40b9 hex color has a red value of 94, a green value of 64 and a blue value of 185.
In CMYK color space (used in color printing), #5e40b9 hex color is composed of 49.19% cyan, 65.41% magenta, 0% yellow and 27.45% black.
#5e40b9 color has a hue of 254.9 degrees, a saturation of 48.59% and a lightness of 48.8%.
#5e40b9 hex color contains mainly BLUE.
The closest web safe color of #5e40b9 is #6633cc
#5e40b9 hex color has a decimal value of 6176953.
HEX | 5e40b9 | #5e40b9 |
---|---|---|
RGB | 94, 64, 185 | rgb(94, 64, 185) |
RGB Percent | 36.86, 25.1, 72.55 | rgb(36.86, 25.1, 72.55) |
CMYK | 49, 65, 0, 27 | |
HSL | 254.9°, 48.59, 48.8 | hsl(254.9, 48.59%, 48.8%) |
HSV | 254.9°, 65.4, 72.5 |
XYZ | 15.206, 9.549, 46.941 |
---|---|
Hunter Lab | 30.901, 33.759, -68.434 |
CIE-LAB | 37.021, 42.896, -59.672 |
CIE-LCH | 37.021, 73.49, 305.711 |
CIE-LUV | 49.19, 65.41, 0, 27.45 |
Web Safe | 6633cc |
RGB percent of color #5e40b9
CMYK percent of color #5e40b9
Text with hexadecimal color #5e40b9
This text has a font color of #5e40b9
<p style="color:#5e40b9">Text here</p>
#5e40b9 Background Color
This box has a background color of #5e40b9
<div style="background-color:#5e40b9">Text here</div>
#5e40b9 Border Color
This box has a border color of #5e40b9
<div style="border: 4px solid #5e40b9">Text here</div>
CSS codes
<p style="color:#5e40b9">Text here</p>
<div style="background-color:#5e40b9">Text here</div>
<div style="border: 4px solid #5e40b9">Text here</div>
#5e40b9 Color on white background
This is how a font and box color of #5e40b9 will look
on a white background.
#5e40b9 Color on black background
This is how a font and box color of #5e40b9 hex color will look
on a black background.