In RGB color space, #402b8b hex color has a red value of 64, a green value of 43 and a blue value of 139.
In CMYK color space (used in color printing), #402b8b hex color is composed of 53.96% cyan, 69.06% magenta, 0% yellow and 45.49% black.
#402b8b color has a hue of 253.1 degrees, a saturation of 52.75% and a lightness of 35.7%.
#402b8b hex color contains mainly BLUE.
The closest web safe color of #402b8b is #333399
#402b8b hex color has a decimal value of 4205451.
HEX | 402b8b | #402b8b |
---|---|---|
RGB | 64, 43, 139 | rgb(64, 43, 139) |
RGB Percent | 25.1, 16.86, 54.51 | rgb(25.1, 16.86, 54.51) |
CMYK | 54, 69, 0, 45 | |
HSL | 253.1°, 52.75, 35.7 | hsl(253.1, 52.75%, 35.7%) |
HSV | 253.1°, 69.1, 54.5 |
XYZ | 7.638, 4.682, 24.927 |
---|---|
Hunter Lab | 21.638, 25.143, -53.156 |
CIE-LAB | 25.809, 35.556, -50.265 |
CIE-LCH | 25.809, 61.569, 305.274 |
CIE-LUV | 53.96, 69.06, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #402b8b
CMYK percent of color #402b8b
Text with hexadecimal color #402b8b
This text has a font color of #402b8b
<p style="color:#402b8b">Text here</p>
#402b8b Background Color
This box has a background color of #402b8b
<div style="background-color:#402b8b">Text here</div>
#402b8b Border Color
This box has a border color of #402b8b
<div style="border: 4px solid #402b8b">Text here</div>
CSS codes
<p style="color:#402b8b">Text here</p>
<div style="background-color:#402b8b">Text here</div>
<div style="border: 4px solid #402b8b">Text here</div>
#402b8b Color on white background
This is how a font and box color of #402b8b will look
on a white background.
#402b8b Color on black background
This is how a font and box color of #402b8b hex color will look
on a black background.