In RGB color space, #402e84 hex color has a red value of 64, a green value of 46 and a blue value of 132.
In CMYK color space (used in color printing), #402e84 hex color is composed of 51.52% cyan, 65.15% magenta, 0% yellow and 48.24% black.
#402e84 color has a hue of 252.6 degrees, a saturation of 48.31% and a lightness of 34.9%.
#402e84 hex color contains mainly BLUE.
The closest web safe color of #402e84 is #333399
#402e84 hex color has a decimal value of 4206212.
HEX | 402e84 | #402e84 |
---|---|---|
RGB | 64, 46, 132 | rgb(64, 46, 132) |
RGB Percent | 25.1, 18.04, 51.76 | rgb(25.1, 18.04, 51.76) |
CMYK | 52, 65, 0, 48 | |
HSL | 252.6°, 48.31, 34.9 | hsl(252.6, 48.31%, 34.9%) |
HSV | 252.6°, 65.2, 51.8 |
XYZ | 7.256, 4.71, 22.356 |
---|---|
Hunter Lab | 21.703, 21.7, -45.883 |
CIE-LAB | 25.892, 31.538, -45.761 |
CIE-LCH | 25.892, 55.576, 304.574 |
CIE-LUV | 51.52, 65.15, 0, 48.24 |
Web Safe | 333399 |
RGB percent of color #402e84
CMYK percent of color #402e84
Text with hexadecimal color #402e84
This text has a font color of #402e84
<p style="color:#402e84">Text here</p>
#402e84 Background Color
This box has a background color of #402e84
<div style="background-color:#402e84">Text here</div>
#402e84 Border Color
This box has a border color of #402e84
<div style="border: 4px solid #402e84">Text here</div>
CSS codes
<p style="color:#402e84">Text here</p>
<div style="background-color:#402e84">Text here</div>
<div style="border: 4px solid #402e84">Text here</div>
#402e84 Color on white background
This is how a font and box color of #402e84 will look
on a white background.
#402e84 Color on black background
This is how a font and box color of #402e84 hex color will look
on a black background.