In RGB color space, #402ac7 hex color has a red value of 64, a green value of 42 and a blue value of 199.
In CMYK color space (used in color printing), #402ac7 hex color is composed of 67.84% cyan, 78.89% magenta, 0% yellow and 21.96% black.
#402ac7 color has a hue of 248.4 degrees, a saturation of 65.15% and a lightness of 47.3%.
#402ac7 hex color contains mainly BLUE.
The closest web safe color of #402ac7 is #3333cc
#402ac7 hex color has a decimal value of 4205255.
HEX | 402ac7 | #402ac7 |
---|---|---|
RGB | 64, 42, 199 | rgb(64, 42, 199) |
RGB Percent | 25.1, 16.47, 78.04 | rgb(25.1, 16.47, 78.04) |
CMYK | 68, 79, 0, 22 | |
HSL | 248.4°, 65.15, 47.3 | hsl(248.4, 65.15%, 47.3%) |
HSV | 248.4°, 78.9, 78 |
XYZ | 13.251, 6.869, 54.66 |
---|---|
Hunter Lab | 26.209, 44.383, -105.307 |
CIE-LAB | 31.507, 54.492, -77.044 |
CIE-LCH | 31.507, 94.367, 305.271 |
CIE-LUV | 67.84, 78.89, 0, 21.96 |
Web Safe | 3333cc |
RGB percent of color #402ac7
CMYK percent of color #402ac7
Text with hexadecimal color #402ac7
This text has a font color of #402ac7
<p style="color:#402ac7">Text here</p>
#402ac7 Background Color
This box has a background color of #402ac7
<div style="background-color:#402ac7">Text here</div>
#402ac7 Border Color
This box has a border color of #402ac7
<div style="border: 4px solid #402ac7">Text here</div>
CSS codes
<p style="color:#402ac7">Text here</p>
<div style="background-color:#402ac7">Text here</div>
<div style="border: 4px solid #402ac7">Text here</div>
#402ac7 Color on white background
This is how a font and box color of #402ac7 will look
on a white background.
#402ac7 Color on black background
This is how a font and box color of #402ac7 hex color will look
on a black background.