In RGB color space, #402ea2 hex color has a red value of 64, a green value of 46 and a blue value of 162.
In CMYK color space (used in color printing), #402ea2 hex color is composed of 60.49% cyan, 71.6% magenta, 0% yellow and 36.47% black.
#402ea2 color has a hue of 249.3 degrees, a saturation of 55.77% and a lightness of 40.8%.
#402ea2 hex color contains mainly BLUE.
The closest web safe color of #402ea2 is #333399
#402ea2 hex color has a decimal value of 4206242.
HEX | 402ea2 | #402ea2 |
---|---|---|
RGB | 64, 46, 162 | rgb(64, 46, 162) |
RGB Percent | 25.1, 18.04, 63.53 | rgb(25.1, 18.04, 63.53) |
CMYK | 60, 72, 0, 36 | |
HSL | 249.3°, 55.77, 40.8 | hsl(249.3, 55.77%, 40.8%) |
HSV | 249.3°, 71.6, 63.5 |
XYZ | 9.613, 5.653, 34.767 |
---|---|
Hunter Lab | 23.776, 30.562, -70.055 |
CIE-LAB | 28.52, 41.063, -59.941 |
CIE-LCH | 28.52, 72.657, 304.413 |
CIE-LUV | 60.49, 71.6, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #402ea2
CMYK percent of color #402ea2
Text with hexadecimal color #402ea2
This text has a font color of #402ea2
<p style="color:#402ea2">Text here</p>
#402ea2 Background Color
This box has a background color of #402ea2
<div style="background-color:#402ea2">Text here</div>
#402ea2 Border Color
This box has a border color of #402ea2
<div style="border: 4px solid #402ea2">Text here</div>
CSS codes
<p style="color:#402ea2">Text here</p>
<div style="background-color:#402ea2">Text here</div>
<div style="border: 4px solid #402ea2">Text here</div>
#402ea2 Color on white background
This is how a font and box color of #402ea2 will look
on a white background.
#402ea2 Color on black background
This is how a font and box color of #402ea2 hex color will look
on a black background.