In RGB color space, #402aa5 hex color has a red value of 64, a green value of 42 and a blue value of 165.
In CMYK color space (used in color printing), #402aa5 hex color is composed of 61.21% cyan, 74.55% magenta, 0% yellow and 35.29% black.
#402aa5 color has a hue of 250.7 degrees, a saturation of 59.42% and a lightness of 40.6%.
#402aa5 hex color contains mainly BLUE.
The closest web safe color of #402aa5 is #333399
#402aa5 hex color has a decimal value of 4205221.
HEX | 402aa5 | #402aa5 |
---|---|---|
RGB | 64, 42, 165 | rgb(64, 42, 165) |
RGB Percent | 25.1, 16.47, 64.71 | rgb(25.1, 16.47, 64.71) |
CMYK | 61, 75, 0, 35 | |
HSL | 250.7°, 59.42, 40.6 | hsl(250.7, 59.42%, 40.6%) |
HSV | 250.7°, 74.5, 64.7 |
XYZ | 9.734, 5.463, 36.139 |
---|---|
Hunter Lab | 23.373, 33.436, -75.312 |
CIE-LAB | 28.015, 44.211, -62.586 |
CIE-LCH | 28.015, 76.626, 305.238 |
CIE-LUV | 61.21, 74.55, 0, 35.29 |
Web Safe | 333399 |
RGB percent of color #402aa5
CMYK percent of color #402aa5
Text with hexadecimal color #402aa5
This text has a font color of #402aa5
<p style="color:#402aa5">Text here</p>
#402aa5 Background Color
This box has a background color of #402aa5
<div style="background-color:#402aa5">Text here</div>
#402aa5 Border Color
This box has a border color of #402aa5
<div style="border: 4px solid #402aa5">Text here</div>
CSS codes
<p style="color:#402aa5">Text here</p>
<div style="background-color:#402aa5">Text here</div>
<div style="border: 4px solid #402aa5">Text here</div>
#402aa5 Color on white background
This is how a font and box color of #402aa5 will look
on a white background.
#402aa5 Color on black background
This is how a font and box color of #402aa5 hex color will look
on a black background.