In RGB color space, #402cb3 hex color has a red value of 64, a green value of 44 and a blue value of 179.
In CMYK color space (used in color printing), #402cb3 hex color is composed of 64.25% cyan, 75.42% magenta, 0% yellow and 29.8% black.
#402cb3 color has a hue of 248.9 degrees, a saturation of 60.54% and a lightness of 43.7%.
#402cb3 hex color contains mainly BLUE.
The closest web safe color of #402cb3 is #3333cc
#402cb3 hex color has a decimal value of 4205747.
HEX | 402cb3 | #402cb3 |
---|---|---|
RGB | 64, 44, 179 | rgb(64, 44, 179) |
RGB Percent | 25.1, 17.25, 70.2 | rgb(25.1, 17.25, 70.2) |
CMYK | 64, 75, 0, 30 | |
HSL | 248.9°, 60.54, 43.7 | hsl(248.9, 60.54%, 43.7%) |
HSV | 248.9°, 75.4, 70.2 |
XYZ | 11.152, 6.146, 43.246 |
---|---|
Hunter Lab | 24.791, 36.912, -86.073 |
CIE-LAB | 29.778, 47.461, -68.087 |
CIE-LCH | 29.778, 82.996, 304.879 |
CIE-LUV | 64.25, 75.42, 0, 29.8 |
Web Safe | 3333cc |
RGB percent of color #402cb3
CMYK percent of color #402cb3
Text with hexadecimal color #402cb3
This text has a font color of #402cb3
<p style="color:#402cb3">Text here</p>
#402cb3 Background Color
This box has a background color of #402cb3
<div style="background-color:#402cb3">Text here</div>
#402cb3 Border Color
This box has a border color of #402cb3
<div style="border: 4px solid #402cb3">Text here</div>
CSS codes
<p style="color:#402cb3">Text here</p>
<div style="background-color:#402cb3">Text here</div>
<div style="border: 4px solid #402cb3">Text here</div>
#402cb3 Color on white background
This is how a font and box color of #402cb3 will look
on a white background.
#402cb3 Color on black background
This is how a font and box color of #402cb3 hex color will look
on a black background.