In RGB color space, #402e8b hex color has a red value of 64, a green value of 46 and a blue value of 139.
In CMYK color space (used in color printing), #402e8b hex color is composed of 53.96% cyan, 66.91% magenta, 0% yellow and 45.49% black.
#402e8b color has a hue of 251.6 degrees, a saturation of 50.27% and a lightness of 36.3%.
#402e8b hex color contains mainly BLUE.
The closest web safe color of #402e8b is #333399
#402e8b hex color has a decimal value of 4206219.
HEX | 402e8b | #402e8b |
---|---|---|
RGB | 64, 46, 139 | rgb(64, 46, 139) |
RGB Percent | 25.1, 18.04, 54.51 | rgb(25.1, 18.04, 54.51) |
CMYK | 54, 67, 0, 45 | |
HSL | 251.6°, 50.27, 36.3 | hsl(251.6, 50.27%, 36.3%) |
HSV | 251.6°, 66.9, 54.5 |
XYZ | 7.752, 4.908, 24.965 |
---|---|
Hunter Lab | 22.154, 23.69, -51.305 |
CIE-LAB | 26.471, 33.77, -49.185 |
CIE-LCH | 26.471, 59.662, 304.473 |
CIE-LUV | 53.96, 66.91, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #402e8b
CMYK percent of color #402e8b
Text with hexadecimal color #402e8b
This text has a font color of #402e8b
<p style="color:#402e8b">Text here</p>
#402e8b Background Color
This box has a background color of #402e8b
<div style="background-color:#402e8b">Text here</div>
#402e8b Border Color
This box has a border color of #402e8b
<div style="border: 4px solid #402e8b">Text here</div>
CSS codes
<p style="color:#402e8b">Text here</p>
<div style="background-color:#402e8b">Text here</div>
<div style="border: 4px solid #402e8b">Text here</div>
#402e8b Color on white background
This is how a font and box color of #402e8b will look
on a white background.
#402e8b Color on black background
This is how a font and box color of #402e8b hex color will look
on a black background.