In RGB color space, #402e8c hex color has a red value of 64, a green value of 46 and a blue value of 140.
In CMYK color space (used in color printing), #402e8c hex color is composed of 54.29% cyan, 67.14% magenta, 0% yellow and 45.1% black.
#402e8c color has a hue of 251.5 degrees, a saturation of 50.54% and a lightness of 36.5%.
#402e8c hex color contains mainly BLUE.
The closest web safe color of #402e8c is #333399
#402e8c hex color has a decimal value of 4206220.
HEX | 402e8c | #402e8c |
---|---|---|
RGB | 64, 46, 140 | rgb(64, 46, 140) |
RGB Percent | 25.1, 18.04, 54.9 | rgb(25.1, 18.04, 54.9) |
CMYK | 54, 67, 0, 45 | |
HSL | 251.5°, 50.54, 36.5 | hsl(251.5, 50.54%, 36.5%) |
HSV | 251.5°, 67.1, 54.9 |
XYZ | 7.825, 4.937, 25.352 |
---|---|
Hunter Lab | 22.219, 23.979, -52.096 |
CIE-LAB | 26.555, 34.088, -49.67 |
CIE-LCH | 26.555, 60.242, 304.461 |
CIE-LUV | 54.29, 67.14, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #402e8c
CMYK percent of color #402e8c
Text with hexadecimal color #402e8c
This text has a font color of #402e8c
<p style="color:#402e8c">Text here</p>
#402e8c Background Color
This box has a background color of #402e8c
<div style="background-color:#402e8c">Text here</div>
#402e8c Border Color
This box has a border color of #402e8c
<div style="border: 4px solid #402e8c">Text here</div>
CSS codes
<p style="color:#402e8c">Text here</p>
<div style="background-color:#402e8c">Text here</div>
<div style="border: 4px solid #402e8c">Text here</div>
#402e8c Color on white background
This is how a font and box color of #402e8c will look
on a white background.
#402e8c Color on black background
This is how a font and box color of #402e8c hex color will look
on a black background.