In RGB color space, #402d89 hex color has a red value of 64, a green value of 45 and a blue value of 137.
In CMYK color space (used in color printing), #402d89 hex color is composed of 53.28% cyan, 67.15% magenta, 0% yellow and 46.27% black.
#402d89 color has a hue of 252.4 degrees, a saturation of 50.55% and a lightness of 35.7%.
#402d89 hex color contains mainly BLUE.
The closest web safe color of #402d89 is #333399
#402d89 hex color has a decimal value of 4205961.
HEX | 402d89 | #402d89 |
---|---|---|
RGB | 64, 45, 137 | rgb(64, 45, 137) |
RGB Percent | 25.1, 17.65, 53.73 | rgb(25.1, 17.65, 53.73) |
CMYK | 53, 67, 0, 46 | |
HSL | 252.4°, 50.55, 35.7 | hsl(252.4, 50.55%, 35.7%) |
HSV | 252.4°, 67.2, 53.7 |
XYZ | 7.568, 4.773, 24.189 |
---|---|
Hunter Lab | 21.847, 23.601, -50.352 |
CIE-LAB | 26.078, 33.734, -48.581 |
CIE-LCH | 26.078, 59.145, 304.776 |
CIE-LUV | 53.28, 67.15, 0, 46.27 |
Web Safe | 333399 |
RGB percent of color #402d89
CMYK percent of color #402d89
Text with hexadecimal color #402d89
This text has a font color of #402d89
<p style="color:#402d89">Text here</p>
#402d89 Background Color
This box has a background color of #402d89
<div style="background-color:#402d89">Text here</div>
#402d89 Border Color
This box has a border color of #402d89
<div style="border: 4px solid #402d89">Text here</div>
CSS codes
<p style="color:#402d89">Text here</p>
<div style="background-color:#402d89">Text here</div>
<div style="border: 4px solid #402d89">Text here</div>
#402d89 Color on white background
This is how a font and box color of #402d89 will look
on a white background.
#402d89 Color on black background
This is how a font and box color of #402d89 hex color will look
on a black background.