In RGB color space, #402e81 hex color has a red value of 64, a green value of 46 and a blue value of 129.
In CMYK color space (used in color printing), #402e81 hex color is composed of 50.39% cyan, 64.34% magenta, 0% yellow and 49.41% black.
#402e81 color has a hue of 253 degrees, a saturation of 47.43% and a lightness of 34.3%.
#402e81 hex color contains mainly BLUE.
The closest web safe color of #402e81 is #333399
#402e81 hex color has a decimal value of 4206209.
HEX | 402e81 | #402e81 |
---|---|---|
RGB | 64, 46, 129 | rgb(64, 46, 129) |
RGB Percent | 25.1, 18.04, 50.59 | rgb(25.1, 18.04, 50.59) |
CMYK | 50, 64, 0, 49 | |
HSL | 253°, 47.43, 34.3 | hsl(253, 47.43%, 34.3%) |
HSV | 253°, 64.3, 50.6 |
XYZ | 7.054, 4.629, 21.291 |
---|---|
Hunter Lab | 21.515, 20.872, -43.612 |
CIE-LAB | 25.651, 30.593, -44.274 |
CIE-LCH | 25.651, 53.816, 304.644 |
CIE-LUV | 50.39, 64.34, 0, 49.41 |
Web Safe | 333399 |
RGB percent of color #402e81
CMYK percent of color #402e81
Text with hexadecimal color #402e81
This text has a font color of #402e81
<p style="color:#402e81">Text here</p>
#402e81 Background Color
This box has a background color of #402e81
<div style="background-color:#402e81">Text here</div>
#402e81 Border Color
This box has a border color of #402e81
<div style="border: 4px solid #402e81">Text here</div>
CSS codes
<p style="color:#402e81">Text here</p>
<div style="background-color:#402e81">Text here</div>
<div style="border: 4px solid #402e81">Text here</div>
#402e81 Color on white background
This is how a font and box color of #402e81 will look
on a white background.
#402e81 Color on black background
This is how a font and box color of #402e81 hex color will look
on a black background.