In RGB color space, #402aa2 hex color has a red value of 64, a green value of 42 and a blue value of 162.
In CMYK color space (used in color printing), #402aa2 hex color is composed of 60.49% cyan, 74.07% magenta, 0% yellow and 36.47% black.
#402aa2 color has a hue of 251 degrees, a saturation of 58.82% and a lightness of 40%.
#402aa2 hex color contains mainly BLUE.
The closest web safe color of #402aa2 is #333399
#402aa2 hex color has a decimal value of 4205218.
HEX | 402aa2 | #402aa2 |
---|---|---|
RGB | 64, 42, 162 | rgb(64, 42, 162) |
RGB Percent | 25.1, 16.47, 63.53 | rgb(25.1, 16.47, 63.53) |
CMYK | 60, 74, 0, 36 | |
HSL | 251°, 58.82, 40 | hsl(251, 58.82%, 40%) |
HSV | 251°, 74.1, 63.5 |
XYZ | 9.464, 5.355, 34.717 |
---|---|
Hunter Lab | 23.141, 32.505, -72.751 |
CIE-LAB | 27.723, 43.286, -61.249 |
CIE-LCH | 27.723, 75.001, 305.25 |
CIE-LUV | 60.49, 74.07, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #402aa2
CMYK percent of color #402aa2
Text with hexadecimal color #402aa2
This text has a font color of #402aa2
<p style="color:#402aa2">Text here</p>
#402aa2 Background Color
This box has a background color of #402aa2
<div style="background-color:#402aa2">Text here</div>
#402aa2 Border Color
This box has a border color of #402aa2
<div style="border: 4px solid #402aa2">Text here</div>
CSS codes
<p style="color:#402aa2">Text here</p>
<div style="background-color:#402aa2">Text here</div>
<div style="border: 4px solid #402aa2">Text here</div>
#402aa2 Color on white background
This is how a font and box color of #402aa2 will look
on a white background.
#402aa2 Color on black background
This is how a font and box color of #402aa2 hex color will look
on a black background.