In RGB color space, #402e57 hex color has a red value of 64, a green value of 46 and a blue value of 87.
In CMYK color space (used in color printing), #402e57 hex color is composed of 26.44% cyan, 47.13% magenta, 0% yellow and 65.88% black.
#402e57 color has a hue of 266.3 degrees, a saturation of 30.83% and a lightness of 26.1%.
#402e57 hex color contains mainly BLUE.
The closest web safe color of #402e57 is #333366
#402e57 hex color has a decimal value of 4206167.
HEX | 402e57 | #402e57 |
---|---|---|
RGB | 64, 46, 87 | rgb(64, 46, 87) |
RGB Percent | 25.1, 18.04, 34.12 | rgb(25.1, 18.04, 34.12) |
CMYK | 26, 47, 0, 66 | |
HSL | 266.3°, 30.83, 26.1 | hsl(266.3, 30.83%, 26.1%) |
HSV | 266.3°, 47.1, 34.1 |
XYZ | 4.812, 3.732, 9.484 |
---|---|
Hunter Lab | 19.318, 10.655, -15.584 |
CIE-LAB | 22.765, 17.879, -21.82 |
CIE-LCH | 22.765, 28.209, 309.331 |
CIE-LUV | 26.44, 47.13, 0, 65.88 |
Web Safe | 333366 |
RGB percent of color #402e57
CMYK percent of color #402e57
Text with hexadecimal color #402e57
This text has a font color of #402e57
<p style="color:#402e57">Text here</p>
#402e57 Background Color
This box has a background color of #402e57
<div style="background-color:#402e57">Text here</div>
#402e57 Border Color
This box has a border color of #402e57
<div style="border: 4px solid #402e57">Text here</div>
CSS codes
<p style="color:#402e57">Text here</p>
<div style="background-color:#402e57">Text here</div>
<div style="border: 4px solid #402e57">Text here</div>
#402e57 Color on white background
This is how a font and box color of #402e57 will look
on a white background.
#402e57 Color on black background
This is how a font and box color of #402e57 hex color will look
on a black background.