In RGB color space, #402a9c hex color has a red value of 64, a green value of 42 and a blue value of 156.
In CMYK color space (used in color printing), #402a9c hex color is composed of 58.97% cyan, 73.08% magenta, 0% yellow and 38.82% black.
#402a9c color has a hue of 251.6 degrees, a saturation of 57.58% and a lightness of 38.8%.
#402a9c hex color contains mainly BLUE.
The closest web safe color of #402a9c is #333399
#402a9c hex color has a decimal value of 4205212.
HEX | 402a9c | #402a9c |
---|---|---|
RGB | 64, 42, 156 | rgb(64, 42, 156) |
RGB Percent | 25.1, 16.47, 61.18 | rgb(25.1, 16.47, 61.18) |
CMYK | 59, 73, 0, 39 | |
HSL | 251.6°, 57.58, 38.8 | hsl(251.6, 57.58%, 38.8%) |
HSV | 251.6°, 73.1, 61.2 |
XYZ | 8.943, 5.146, 31.974 |
---|---|
Hunter Lab | 22.685, 30.671, -67.689 |
CIE-LAB | 27.147, 41.437, -58.545 |
CIE-LCH | 27.147, 71.725, 305.29 |
CIE-LUV | 58.97, 73.08, 0, 38.82 |
Web Safe | 333399 |
RGB percent of color #402a9c
CMYK percent of color #402a9c
Text with hexadecimal color #402a9c
This text has a font color of #402a9c
<p style="color:#402a9c">Text here</p>
#402a9c Background Color
This box has a background color of #402a9c
<div style="background-color:#402a9c">Text here</div>
#402a9c Border Color
This box has a border color of #402a9c
<div style="border: 4px solid #402a9c">Text here</div>
CSS codes
<p style="color:#402a9c">Text here</p>
<div style="background-color:#402a9c">Text here</div>
<div style="border: 4px solid #402a9c">Text here</div>
#402a9c Color on white background
This is how a font and box color of #402a9c will look
on a white background.
#402a9c Color on black background
This is how a font and box color of #402a9c hex color will look
on a black background.