In RGB color space, #5e40a8 hex color has a red value of 94, a green value of 64 and a blue value of 168.
In CMYK color space (used in color printing), #5e40a8 hex color is composed of 44.05% cyan, 61.9% magenta, 0% yellow and 34.12% black.
#5e40a8 color has a hue of 257.3 degrees, a saturation of 44.83% and a lightness of 45.5%.
#5e40a8 hex color contains mainly BLUE.
The closest web safe color of #5e40a8 is #663399
#5e40a8 hex color has a decimal value of 6176936.
HEX | 5e40a8 | #5e40a8 |
---|---|---|
RGB | 94, 64, 168 | rgb(94, 64, 168) |
RGB Percent | 36.86, 25.1, 65.88 | rgb(36.86, 25.1, 65.88) |
CMYK | 44, 62, 0, 34 | |
HSL | 257.3°, 44.83, 45.5 | hsl(257.3, 44.83%, 45.5%) |
HSV | 257.3°, 61.9, 65.9 |
XYZ | 13.517, 8.874, 38.046 |
---|---|
Hunter Lab | 29.789, 28.864, -54.871 |
CIE-LAB | 35.741, 37.966, -51.66 |
CIE-LCH | 35.741, 64.111, 306.313 |
CIE-LUV | 44.05, 61.9, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #5e40a8
CMYK percent of color #5e40a8
Text with hexadecimal color #5e40a8
This text has a font color of #5e40a8
<p style="color:#5e40a8">Text here</p>
#5e40a8 Background Color
This box has a background color of #5e40a8
<div style="background-color:#5e40a8">Text here</div>
#5e40a8 Border Color
This box has a border color of #5e40a8
<div style="border: 4px solid #5e40a8">Text here</div>
CSS codes
<p style="color:#5e40a8">Text here</p>
<div style="background-color:#5e40a8">Text here</div>
<div style="border: 4px solid #5e40a8">Text here</div>
#5e40a8 Color on white background
This is how a font and box color of #5e40a8 will look
on a white background.
#5e40a8 Color on black background
This is how a font and box color of #5e40a8 hex color will look
on a black background.