In RGB color space, #402e51 hex color has a red value of 64, a green value of 46 and a blue value of 81.
In CMYK color space (used in color printing), #402e51 hex color is composed of 20.99% cyan, 43.21% magenta, 0% yellow and 68.24% black.
#402e51 color has a hue of 270.9 degrees, a saturation of 27.56% and a lightness of 24.9%.
#402e51 hex color contains mainly BLUE.
The closest web safe color of #402e51 is #333366
#402e51 hex color has a decimal value of 4206161.
HEX | 402e51 | #402e51 |
---|---|---|
RGB | 64, 46, 81 | rgb(64, 46, 81) |
RGB Percent | 25.1, 18.04, 31.76 | rgb(25.1, 18.04, 31.76) |
CMYK | 21, 43, 0, 68 | |
HSL | 270.9°, 27.56, 24.9 | hsl(270.9, 27.56%, 24.9%) |
HSV | 270.9°, 43.2, 31.8 |
XYZ | 4.577, 3.638, 8.246 |
---|---|
Hunter Lab | 19.074, 9.455, -12.281 |
CIE-LAB | 22.437, 16.232, -18.347 |
CIE-LCH | 22.437, 24.497, 311.5 |
CIE-LUV | 20.99, 43.21, 0, 68.24 |
Web Safe | 333366 |
RGB percent of color #402e51
CMYK percent of color #402e51
Text with hexadecimal color #402e51
This text has a font color of #402e51
<p style="color:#402e51">Text here</p>
#402e51 Background Color
This box has a background color of #402e51
<div style="background-color:#402e51">Text here</div>
#402e51 Border Color
This box has a border color of #402e51
<div style="border: 4px solid #402e51">Text here</div>
CSS codes
<p style="color:#402e51">Text here</p>
<div style="background-color:#402e51">Text here</div>
<div style="border: 4px solid #402e51">Text here</div>
#402e51 Color on white background
This is how a font and box color of #402e51 will look
on a white background.
#402e51 Color on black background
This is how a font and box color of #402e51 hex color will look
on a black background.