In RGB color space, #402b7d hex color has a red value of 64, a green value of 43 and a blue value of 125.
In CMYK color space (used in color printing), #402b7d hex color is composed of 48.8% cyan, 65.6% magenta, 0% yellow and 50.98% black.
#402b7d color has a hue of 255.4 degrees, a saturation of 48.81% and a lightness of 32.9%.
#402b7d hex color contains mainly BLUE.
The closest web safe color of #402b7d is #333366
#402b7d hex color has a decimal value of 4205437.
HEX | 402b7d | #402b7d |
---|---|---|
RGB | 64, 43, 125 | rgb(64, 43, 125) |
RGB Percent | 25.1, 16.86, 49.02 | rgb(25.1, 16.86, 49.02) |
CMYK | 49, 66, 0, 51 | |
HSL | 255.4°, 48.81, 32.9 | hsl(255.4, 48.81%, 32.9%) |
HSV | 255.4°, 65.6, 49 |
XYZ | 6.68, 4.298, 19.88 |
---|---|
Hunter Lab | 20.732, 21.235, -42.342 |
CIE-LAB | 24.633, 31.197, -43.404 |
CIE-LCH | 24.633, 53.452, 305.707 |
CIE-LUV | 48.8, 65.6, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #402b7d
CMYK percent of color #402b7d
Text with hexadecimal color #402b7d
This text has a font color of #402b7d
<p style="color:#402b7d">Text here</p>
#402b7d Background Color
This box has a background color of #402b7d
<div style="background-color:#402b7d">Text here</div>
#402b7d Border Color
This box has a border color of #402b7d
<div style="border: 4px solid #402b7d">Text here</div>
CSS codes
<p style="color:#402b7d">Text here</p>
<div style="background-color:#402b7d">Text here</div>
<div style="border: 4px solid #402b7d">Text here</div>
#402b7d Color on white background
This is how a font and box color of #402b7d will look
on a white background.
#402b7d Color on black background
This is how a font and box color of #402b7d hex color will look
on a black background.