In RGB color space, #402ca5 hex color has a red value of 64, a green value of 44 and a blue value of 165.
In CMYK color space (used in color printing), #402ca5 hex color is composed of 61.21% cyan, 73.33% magenta, 0% yellow and 35.29% black.
#402ca5 color has a hue of 249.9 degrees, a saturation of 57.89% and a lightness of 41%.
#402ca5 hex color contains mainly BLUE.
The closest web safe color of #402ca5 is #333399
#402ca5 hex color has a decimal value of 4205733.
HEX | 402ca5 | #402ca5 |
---|---|---|
RGB | 64, 44, 165 | rgb(64, 44, 165) |
RGB Percent | 25.1, 17.25, 64.71 | rgb(25.1, 17.25, 64.71) |
CMYK | 61, 73, 0, 35 | |
HSL | 249.9°, 57.89, 41 | hsl(249.9, 57.89%, 41%) |
HSV | 249.9°, 73.3, 64.7 |
XYZ | 9.807, 5.608, 36.163 |
---|---|
Hunter Lab | 23.681, 32.479, -73.963 |
CIE-LAB | 28.401, 43.13, -61.951 |
CIE-LCH | 28.401, 75.486, 304.845 |
CIE-LUV | 61.21, 73.33, 0, 35.29 |
Web Safe | 333399 |
RGB percent of color #402ca5
CMYK percent of color #402ca5
Text with hexadecimal color #402ca5
This text has a font color of #402ca5
<p style="color:#402ca5">Text here</p>
#402ca5 Background Color
This box has a background color of #402ca5
<div style="background-color:#402ca5">Text here</div>
#402ca5 Border Color
This box has a border color of #402ca5
<div style="border: 4px solid #402ca5">Text here</div>
CSS codes
<p style="color:#402ca5">Text here</p>
<div style="background-color:#402ca5">Text here</div>
<div style="border: 4px solid #402ca5">Text here</div>
#402ca5 Color on white background
This is how a font and box color of #402ca5 will look
on a white background.
#402ca5 Color on black background
This is how a font and box color of #402ca5 hex color will look
on a black background.