In RGB color space, #402d88 hex color has a red value of 64, a green value of 45 and a blue value of 136.
In CMYK color space (used in color printing), #402d88 hex color is composed of 52.94% cyan, 66.91% magenta, 0% yellow and 46.67% black.
#402d88 color has a hue of 252.5 degrees, a saturation of 50.28% and a lightness of 35.5%.
#402d88 hex color contains mainly BLUE.
The closest web safe color of #402d88 is #333399
#402d88 hex color has a decimal value of 4205960.
HEX | 402d88 | #402d88 |
---|---|---|
RGB | 64, 45, 136 | rgb(64, 45, 136) |
RGB Percent | 25.1, 17.65, 53.33 | rgb(25.1, 17.65, 53.33) |
CMYK | 53, 67, 0, 47 | |
HSL | 252.5°, 50.28, 35.5 | hsl(252.5, 50.28%, 35.5%) |
HSV | 252.5°, 66.9, 53.3 |
XYZ | 7.497, 4.744, 23.813 |
---|---|
Hunter Lab | 21.781, 23.324, -49.576 |
CIE-LAB | 25.993, 33.428, -48.097 |
CIE-LCH | 25.993, 58.573, 304.8 |
CIE-LUV | 52.94, 66.91, 0, 46.67 |
Web Safe | 333399 |
RGB percent of color #402d88
CMYK percent of color #402d88
Text with hexadecimal color #402d88
This text has a font color of #402d88
<p style="color:#402d88">Text here</p>
#402d88 Background Color
This box has a background color of #402d88
<div style="background-color:#402d88">Text here</div>
#402d88 Border Color
This box has a border color of #402d88
<div style="border: 4px solid #402d88">Text here</div>
CSS codes
<p style="color:#402d88">Text here</p>
<div style="background-color:#402d88">Text here</div>
<div style="border: 4px solid #402d88">Text here</div>
#402d88 Color on white background
This is how a font and box color of #402d88 will look
on a white background.
#402d88 Color on black background
This is how a font and box color of #402d88 hex color will look
on a black background.