In RGB color space, #402b8d hex color has a red value of 64, a green value of 43 and a blue value of 141.
In CMYK color space (used in color printing), #402b8d hex color is composed of 54.61% cyan, 69.5% magenta, 0% yellow and 44.71% black.
#402b8d color has a hue of 252.9 degrees, a saturation of 53.26% and a lightness of 36.1%.
#402b8d hex color contains mainly BLUE.
The closest web safe color of #402b8d is #333399
#402b8d hex color has a decimal value of 4205453.
HEX | 402b8d | #402b8d |
---|---|---|
RGB | 64, 43, 141 | rgb(64, 43, 141) |
RGB Percent | 25.1, 16.86, 55.29 | rgb(25.1, 16.86, 55.29) |
CMYK | 55, 70, 0, 45 | |
HSL | 252.9°, 53.26, 36.1 | hsl(252.9, 53.26%, 36.1%) |
HSV | 252.9°, 69.5, 55.3 |
XYZ | 7.786, 4.741, 25.704 |
---|---|
Hunter Lab | 21.774, 25.725, -54.75 |
CIE-LAB | 25.984, 36.187, -51.221 |
CIE-LCH | 25.984, 62.714, 305.241 |
CIE-LUV | 54.61, 69.5, 0, 44.71 |
Web Safe | 333399 |
RGB percent of color #402b8d
CMYK percent of color #402b8d
Text with hexadecimal color #402b8d
This text has a font color of #402b8d
<p style="color:#402b8d">Text here</p>
#402b8d Background Color
This box has a background color of #402b8d
<div style="background-color:#402b8d">Text here</div>
#402b8d Border Color
This box has a border color of #402b8d
<div style="border: 4px solid #402b8d">Text here</div>
CSS codes
<p style="color:#402b8d">Text here</p>
<div style="background-color:#402b8d">Text here</div>
<div style="border: 4px solid #402b8d">Text here</div>
#402b8d Color on white background
This is how a font and box color of #402b8d will look
on a white background.
#402b8d Color on black background
This is how a font and box color of #402b8d hex color will look
on a black background.