In RGB color space, #402f87 hex color has a red value of 64, a green value of 47 and a blue value of 135.
In CMYK color space (used in color printing), #402f87 hex color is composed of 52.59% cyan, 65.19% magenta, 0% yellow and 47.06% black.
#402f87 color has a hue of 251.6 degrees, a saturation of 48.35% and a lightness of 35.7%.
#402f87 hex color contains mainly BLUE.
The closest web safe color of #402f87 is #333399
#402f87 hex color has a decimal value of 4206471.
HEX | 402f87 | #402f87 |
---|---|---|
RGB | 64, 47, 135 | rgb(64, 47, 135) |
RGB Percent | 25.1, 18.43, 52.94 | rgb(25.1, 18.43, 52.94) |
CMYK | 53, 65, 0, 47 | |
HSL | 251.6°, 48.35, 35.7 | hsl(251.6, 48.35%, 35.7%) |
HSV | 251.6°, 65.2, 52.9 |
XYZ | 7.504, 4.872, 23.467 |
---|---|
Hunter Lab | 22.073, 22.057, -47.585 |
CIE-LAB | 26.367, 31.881, -46.866 |
CIE-LCH | 26.367, 56.682, 304.226 |
CIE-LUV | 52.59, 65.19, 0, 47.06 |
Web Safe | 333399 |
RGB percent of color #402f87
CMYK percent of color #402f87
Text with hexadecimal color #402f87
This text has a font color of #402f87
<p style="color:#402f87">Text here</p>
#402f87 Background Color
This box has a background color of #402f87
<div style="background-color:#402f87">Text here</div>
#402f87 Border Color
This box has a border color of #402f87
<div style="border: 4px solid #402f87">Text here</div>
CSS codes
<p style="color:#402f87">Text here</p>
<div style="background-color:#402f87">Text here</div>
<div style="border: 4px solid #402f87">Text here</div>
#402f87 Color on white background
This is how a font and box color of #402f87 will look
on a white background.
#402f87 Color on black background
This is how a font and box color of #402f87 hex color will look
on a black background.