In RGB color space, #402ac2 hex color has a red value of 64, a green value of 42 and a blue value of 194.
In CMYK color space (used in color printing), #402ac2 hex color is composed of 67.01% cyan, 78.35% magenta, 0% yellow and 23.92% black.
#402ac2 color has a hue of 248.7 degrees, a saturation of 64.41% and a lightness of 46.3%.
#402ac2 hex color contains mainly BLUE.
The closest web safe color of #402ac2 is #3333cc
#402ac2 hex color has a decimal value of 4205250.
HEX | 402ac2 | #402ac2 |
---|---|---|
RGB | 64, 42, 194 | rgb(64, 42, 194) |
RGB Percent | 25.1, 16.47, 76.08 | rgb(25.1, 16.47, 76.08) |
CMYK | 67, 78, 0, 24 | |
HSL | 248.7°, 64.41, 46.3 | hsl(248.7, 64.41%, 46.3%) |
HSV | 248.7°, 78.4, 76.1 |
XYZ | 12.68, 6.641, 51.652 |
---|---|
Hunter Lab | 25.77, 42.732, -100.798 |
CIE-LAB | 30.975, 53.004, -74.989 |
CIE-LCH | 30.975, 91.83, 305.254 |
CIE-LUV | 67.01, 78.35, 0, 23.92 |
Web Safe | 3333cc |
RGB percent of color #402ac2
CMYK percent of color #402ac2
Text with hexadecimal color #402ac2
This text has a font color of #402ac2
<p style="color:#402ac2">Text here</p>
#402ac2 Background Color
This box has a background color of #402ac2
<div style="background-color:#402ac2">Text here</div>
#402ac2 Border Color
This box has a border color of #402ac2
<div style="border: 4px solid #402ac2">Text here</div>
CSS codes
<p style="color:#402ac2">Text here</p>
<div style="background-color:#402ac2">Text here</div>
<div style="border: 4px solid #402ac2">Text here</div>
#402ac2 Color on white background
This is how a font and box color of #402ac2 will look
on a white background.
#402ac2 Color on black background
This is how a font and box color of #402ac2 hex color will look
on a black background.