In RGB color space, #402087 hex color has a red value of 64, a green value of 32 and a blue value of 135.
In CMYK color space (used in color printing), #402087 hex color is composed of 52.59% cyan, 76.3% magenta, 0% yellow and 47.06% black.
#402087 color has a hue of 258.6 degrees, a saturation of 61.68% and a lightness of 32.7%.
#402087 hex color contains mainly BLUE.
The closest web safe color of #402087 is #333399
#402087 hex color has a decimal value of 4202631.
HEX | 402087 | #402087 |
---|---|---|
RGB | 64, 32, 135 | rgb(64, 32, 135) |
RGB Percent | 25.1, 12.55, 52.94 | rgb(25.1, 12.55, 52.94) |
CMYK | 53, 76, 0, 47 | |
HSL | 258.6°, 61.68, 32.7 | hsl(258.6, 61.68%, 32.7%) |
HSV | 258.6°, 76.3, 52.9 |
XYZ | 7.004, 3.872, 23.3 |
---|---|
Hunter Lab | 19.677, 29.1, -56.431 |
CIE-LAB | 23.244, 40.469, -51.965 |
CIE-LCH | 23.244, 65.864, 307.911 |
CIE-LUV | 52.59, 76.3, 0, 47.06 |
Web Safe | 333399 |
RGB percent of color #402087
CMYK percent of color #402087
Text with hexadecimal color #402087
This text has a font color of #402087
<p style="color:#402087">Text here</p>
#402087 Background Color
This box has a background color of #402087
<div style="background-color:#402087">Text here</div>
#402087 Border Color
This box has a border color of #402087
<div style="border: 4px solid #402087">Text here</div>
CSS codes
<p style="color:#402087">Text here</p>
<div style="background-color:#402087">Text here</div>
<div style="border: 4px solid #402087">Text here</div>
#402087 Color on white background
This is how a font and box color of #402087 will look
on a white background.
#402087 Color on black background
This is how a font and box color of #402087 hex color will look
on a black background.