In RGB color space, #402788 hex color has a red value of 64, a green value of 39 and a blue value of 136.
In CMYK color space (used in color printing), #402788 hex color is composed of 52.94% cyan, 71.32% magenta, 0% yellow and 46.67% black.
#402788 color has a hue of 255.5 degrees, a saturation of 55.43% and a lightness of 34.3%.
#402788 hex color contains mainly BLUE.
The closest web safe color of #402788 is #333399
#402788 hex color has a decimal value of 4204424.
HEX | 402788 | #402788 |
---|---|---|
RGB | 64, 39, 136 | rgb(64, 39, 136) |
RGB Percent | 25.1, 15.29, 53.33 | rgb(25.1, 15.29, 53.33) |
CMYK | 53, 71, 0, 47 | |
HSL | 255.5°, 55.43, 34.3 | hsl(255.5, 55.43%, 34.3%) |
HSV | 255.5°, 71.3, 53.3 |
XYZ | 7.284, 4.319, 23.742 |
---|---|
Hunter Lab | 20.782, 26.194, -53.187 |
CIE-LAB | 24.699, 36.953, -50.208 |
CIE-LCH | 24.699, 62.341, 306.353 |
CIE-LUV | 52.94, 71.32, 0, 46.67 |
Web Safe | 333399 |
RGB percent of color #402788
CMYK percent of color #402788
Text with hexadecimal color #402788
This text has a font color of #402788
<p style="color:#402788">Text here</p>
#402788 Background Color
This box has a background color of #402788
<div style="background-color:#402788">Text here</div>
#402788 Border Color
This box has a border color of #402788
<div style="border: 4px solid #402788">Text here</div>
CSS codes
<p style="color:#402788">Text here</p>
<div style="background-color:#402788">Text here</div>
<div style="border: 4px solid #402788">Text here</div>
#402788 Color on white background
This is how a font and box color of #402788 will look
on a white background.
#402788 Color on black background
This is how a font and box color of #402788 hex color will look
on a black background.