In RGB color space, #402786 hex color has a red value of 64, a green value of 39 and a blue value of 134.
In CMYK color space (used in color printing), #402786 hex color is composed of 52.24% cyan, 70.9% magenta, 0% yellow and 47.45% black.
#402786 color has a hue of 255.8 degrees, a saturation of 54.91% and a lightness of 33.9%.
#402786 hex color contains mainly BLUE.
The closest web safe color of #402786 is #333399
#402786 hex color has a decimal value of 4204422.
HEX | 402786 | #402786 |
---|---|---|
RGB | 64, 39, 134 | rgb(64, 39, 134) |
RGB Percent | 25.1, 15.29, 52.55 | rgb(25.1, 15.29, 52.55) |
CMYK | 52, 71, 0, 47 | |
HSL | 255.8°, 54.91, 33.9 | hsl(255.8, 54.91%, 33.9%) |
HSV | 255.8°, 70.9, 52.5 |
XYZ | 7.143, 4.262, 23 |
---|---|
Hunter Lab | 20.645, 25.633, -51.603 |
CIE-LAB | 24.519, 36.348, -49.25 |
CIE-LCH | 24.519, 61.211, 306.428 |
CIE-LUV | 52.24, 70.9, 0, 47.45 |
Web Safe | 333399 |
RGB percent of color #402786
CMYK percent of color #402786
Text with hexadecimal color #402786
This text has a font color of #402786
<p style="color:#402786">Text here</p>
#402786 Background Color
This box has a background color of #402786
<div style="background-color:#402786">Text here</div>
#402786 Border Color
This box has a border color of #402786
<div style="border: 4px solid #402786">Text here</div>
CSS codes
<p style="color:#402786">Text here</p>
<div style="background-color:#402786">Text here</div>
<div style="border: 4px solid #402786">Text here</div>
#402786 Color on white background
This is how a font and box color of #402786 will look
on a white background.
#402786 Color on black background
This is how a font and box color of #402786 hex color will look
on a black background.