In RGB color space, #402a7c hex color has a red value of 64, a green value of 42 and a blue value of 124.
In CMYK color space (used in color printing), #402a7c hex color is composed of 48.39% cyan, 66.13% magenta, 0% yellow and 51.37% black.
#402a7c color has a hue of 256.1 degrees, a saturation of 49.4% and a lightness of 32.5%.
#402a7c hex color contains mainly BLUE.
The closest web safe color of #402a7c is #333366
#402a7c hex color has a decimal value of 4205180.
HEX | 402a7c | #402a7c |
---|---|---|
RGB | 64, 42, 124 | rgb(64, 42, 124) |
RGB Percent | 25.1, 16.47, 48.63 | rgb(25.1, 16.47, 48.63) |
CMYK | 48, 66, 0, 51 | |
HSL | 256.1°, 49.4, 32.5 | hsl(256.1, 49.4%, 32.5%) |
HSV | 256.1°, 66.1, 48.6 |
XYZ | 6.58, 4.201, 19.533 |
---|---|
Hunter Lab | 20.496, 21.436, -42.156 |
CIE-LAB | 24.325, 31.49, -43.271 |
CIE-LCH | 24.325, 53.516, 306.045 |
CIE-LUV | 48.39, 66.13, 0, 51.37 |
Web Safe | 333366 |
RGB percent of color #402a7c
CMYK percent of color #402a7c
Text with hexadecimal color #402a7c
This text has a font color of #402a7c
<p style="color:#402a7c">Text here</p>
#402a7c Background Color
This box has a background color of #402a7c
<div style="background-color:#402a7c">Text here</div>
#402a7c Border Color
This box has a border color of #402a7c
<div style="border: 4px solid #402a7c">Text here</div>
CSS codes
<p style="color:#402a7c">Text here</p>
<div style="background-color:#402a7c">Text here</div>
<div style="border: 4px solid #402a7c">Text here</div>
#402a7c Color on white background
This is how a font and box color of #402a7c will look
on a white background.
#402a7c Color on black background
This is how a font and box color of #402a7c hex color will look
on a black background.