In RGB color space, #5e40ab hex color has a red value of 94, a green value of 64 and a blue value of 171.
In CMYK color space (used in color printing), #5e40ab hex color is composed of 45.03% cyan, 62.57% magenta, 0% yellow and 32.94% black.
#5e40ab color has a hue of 256.8 degrees, a saturation of 45.53% and a lightness of 46.1%.
#5e40ab hex color contains mainly BLUE.
The closest web safe color of #5e40ab is #663399
#5e40ab hex color has a decimal value of 6176939.
HEX | 5e40ab | #5e40ab |
---|---|---|
RGB | 94, 64, 171 | rgb(94, 64, 171) |
RGB Percent | 36.86, 25.1, 67.06 | rgb(36.86, 25.1, 67.06) |
CMYK | 45, 63, 0, 33 | |
HSL | 256.8°, 45.53, 46.1 | hsl(256.8, 45.53%, 46.1%) |
HSV | 256.8°, 62.6, 67.1 |
XYZ | 13.8, 8.987, 39.535 |
---|---|
Hunter Lab | 29.978, 29.707, -57.206 |
CIE-LAB | 35.959, 38.833, -53.098 |
CIE-LCH | 35.959, 65.783, 306.18 |
CIE-LUV | 45.03, 62.57, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #5e40ab
CMYK percent of color #5e40ab
Text with hexadecimal color #5e40ab
This text has a font color of #5e40ab
<p style="color:#5e40ab">Text here</p>
#5e40ab Background Color
This box has a background color of #5e40ab
<div style="background-color:#5e40ab">Text here</div>
#5e40ab Border Color
This box has a border color of #5e40ab
<div style="border: 4px solid #5e40ab">Text here</div>
CSS codes
<p style="color:#5e40ab">Text here</p>
<div style="background-color:#5e40ab">Text here</div>
<div style="border: 4px solid #5e40ab">Text here</div>
#5e40ab Color on white background
This is how a font and box color of #5e40ab will look
on a white background.
#5e40ab Color on black background
This is how a font and box color of #5e40ab hex color will look
on a black background.