In RGB color space, #402a82 hex color has a red value of 64, a green value of 42 and a blue value of 130.
In CMYK color space (used in color printing), #402a82 hex color is composed of 50.77% cyan, 67.69% magenta, 0% yellow and 49.02% black.
#402a82 color has a hue of 255 degrees, a saturation of 51.16% and a lightness of 33.7%.
#402a82 hex color contains mainly BLUE.
The closest web safe color of #402a82 is #333399
#402a82 hex color has a decimal value of 4205186.
HEX | 402a82 | #402a82 |
---|---|---|
RGB | 64, 42, 130 | rgb(64, 42, 130) |
RGB Percent | 25.1, 16.47, 50.98 | rgb(25.1, 16.47, 50.98) |
CMYK | 51, 68, 0, 49 | |
HSL | 255°, 51.16, 33.7 | hsl(255, 51.16%, 33.7%) |
HSV | 255°, 67.7, 51 |
XYZ | 6.972, 4.358, 21.593 |
---|---|
Hunter Lab | 20.876, 23.082, -46.714 |
CIE-LAB | 24.821, 33.349, -46.249 |
CIE-LCH | 24.821, 57.019, 305.794 |
CIE-LUV | 50.77, 67.69, 0, 49.02 |
Web Safe | 333399 |
RGB percent of color #402a82
CMYK percent of color #402a82
Text with hexadecimal color #402a82
This text has a font color of #402a82
<p style="color:#402a82">Text here</p>
#402a82 Background Color
This box has a background color of #402a82
<div style="background-color:#402a82">Text here</div>
#402a82 Border Color
This box has a border color of #402a82
<div style="border: 4px solid #402a82">Text here</div>
CSS codes
<p style="color:#402a82">Text here</p>
<div style="background-color:#402a82">Text here</div>
<div style="border: 4px solid #402a82">Text here</div>
#402a82 Color on white background
This is how a font and box color of #402a82 will look
on a white background.
#402a82 Color on black background
This is how a font and box color of #402a82 hex color will look
on a black background.