In RGB color space, #402a7d hex color has a red value of 64, a green value of 42 and a blue value of 125.
In CMYK color space (used in color printing), #402a7d hex color is composed of 48.8% cyan, 66.4% magenta, 0% yellow and 50.98% black.
#402a7d color has a hue of 255.9 degrees, a saturation of 49.7% and a lightness of 32.7%.
#402a7d hex color contains mainly BLUE.
The closest web safe color of #402a7d is #333366
#402a7d hex color has a decimal value of 4205181.
HEX | 402a7d | #402a7d |
---|---|---|
RGB | 64, 42, 125 | rgb(64, 42, 125) |
RGB Percent | 25.1, 16.47, 49.02 | rgb(25.1, 16.47, 49.02) |
CMYK | 49, 66, 0, 51 | |
HSL | 255.9°, 49.7, 32.7 | hsl(255.9, 49.7%, 32.7%) |
HSV | 255.9°, 66.4, 49 |
XYZ | 6.644, 4.227, 19.868 |
---|---|
Hunter Lab | 20.56, 21.704, -42.904 |
CIE-LAB | 24.408, 31.795, -43.77 |
CIE-LCH | 24.408, 54.099, 305.995 |
CIE-LUV | 48.8, 66.4, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #402a7d
CMYK percent of color #402a7d
Text with hexadecimal color #402a7d
This text has a font color of #402a7d
<p style="color:#402a7d">Text here</p>
#402a7d Background Color
This box has a background color of #402a7d
<div style="background-color:#402a7d">Text here</div>
#402a7d Border Color
This box has a border color of #402a7d
<div style="border: 4px solid #402a7d">Text here</div>
CSS codes
<p style="color:#402a7d">Text here</p>
<div style="background-color:#402a7d">Text here</div>
<div style="border: 4px solid #402a7d">Text here</div>
#402a7d Color on white background
This is how a font and box color of #402a7d will look
on a white background.
#402a7d Color on black background
This is how a font and box color of #402a7d hex color will look
on a black background.