In RGB color space, #402aa3 hex color has a red value of 64, a green value of 42 and a blue value of 163.
In CMYK color space (used in color printing), #402aa3 hex color is composed of 60.74% cyan, 74.23% magenta, 0% yellow and 36.08% black.
#402aa3 color has a hue of 250.9 degrees, a saturation of 59.02% and a lightness of 40.2%.
#402aa3 hex color contains mainly BLUE.
The closest web safe color of #402aa3 is #333399
#402aa3 hex color has a decimal value of 4205219.
HEX | 402aa3 | #402aa3 |
---|---|---|
RGB | 64, 42, 163 | rgb(64, 42, 163) |
RGB Percent | 25.1, 16.47, 63.92 | rgb(25.1, 16.47, 63.92) |
CMYK | 61, 74, 0, 36 | |
HSL | 250.9°, 59.02, 40.2 | hsl(250.9, 59.02%, 40.2%) |
HSV | 250.9°, 74.2, 63.9 |
XYZ | 9.553, 5.39, 35.187 |
---|---|
Hunter Lab | 23.216, 32.82, -73.609 |
CIE-LAB | 27.818, 43.6, -61.699 |
CIE-LCH | 27.818, 75.549, 305.247 |
CIE-LUV | 60.74, 74.23, 0, 36.08 |
Web Safe | 333399 |
RGB percent of color #402aa3
CMYK percent of color #402aa3
Text with hexadecimal color #402aa3
This text has a font color of #402aa3
<p style="color:#402aa3">Text here</p>
#402aa3 Background Color
This box has a background color of #402aa3
<div style="background-color:#402aa3">Text here</div>
#402aa3 Border Color
This box has a border color of #402aa3
<div style="border: 4px solid #402aa3">Text here</div>
CSS codes
<p style="color:#402aa3">Text here</p>
<div style="background-color:#402aa3">Text here</div>
<div style="border: 4px solid #402aa3">Text here</div>
#402aa3 Color on white background
This is how a font and box color of #402aa3 will look
on a white background.
#402aa3 Color on black background
This is how a font and box color of #402aa3 hex color will look
on a black background.