In RGB color space, #402ac3 hex color has a red value of 64, a green value of 42 and a blue value of 195.
In CMYK color space (used in color printing), #402ac3 hex color is composed of 67.18% cyan, 78.46% magenta, 0% yellow and 23.53% black.
#402ac3 color has a hue of 248.6 degrees, a saturation of 64.56% and a lightness of 46.5%.
#402ac3 hex color contains mainly BLUE.
The closest web safe color of #402ac3 is #3333cc
#402ac3 hex color has a decimal value of 4205251.
HEX | 402ac3 | #402ac3 |
---|---|---|
RGB | 64, 42, 195 | rgb(64, 42, 195) |
RGB Percent | 25.1, 16.47, 76.47 | rgb(25.1, 16.47, 76.47) |
CMYK | 67, 78, 0, 24 | |
HSL | 248.6°, 64.56, 46.5 | hsl(248.6, 64.56%, 46.5%) |
HSV | 248.6°, 78.5, 76.5 |
XYZ | 12.793, 6.686, 52.246 |
---|---|
Hunter Lab | 25.857, 43.063, -101.698 |
CIE-LAB | 31.081, 53.305, -75.403 |
CIE-LCH | 31.081, 92.342, 305.258 |
CIE-LUV | 67.18, 78.46, 0, 23.53 |
Web Safe | 3333cc |
RGB percent of color #402ac3
CMYK percent of color #402ac3
Text with hexadecimal color #402ac3
This text has a font color of #402ac3
<p style="color:#402ac3">Text here</p>
#402ac3 Background Color
This box has a background color of #402ac3
<div style="background-color:#402ac3">Text here</div>
#402ac3 Border Color
This box has a border color of #402ac3
<div style="border: 4px solid #402ac3">Text here</div>
CSS codes
<p style="color:#402ac3">Text here</p>
<div style="background-color:#402ac3">Text here</div>
<div style="border: 4px solid #402ac3">Text here</div>
#402ac3 Color on white background
This is how a font and box color of #402ac3 will look
on a white background.
#402ac3 Color on black background
This is how a font and box color of #402ac3 hex color will look
on a black background.