In RGB color space, #402774 hex color has a red value of 64, a green value of 39 and a blue value of 116.
In CMYK color space (used in color printing), #402774 hex color is composed of 44.83% cyan, 66.38% magenta, 0% yellow and 54.51% black.
#402774 color has a hue of 259.5 degrees, a saturation of 49.68% and a lightness of 30.4%.
#402774 hex color contains mainly BLUE.
The closest web safe color of #402774 is #333366
#402774 hex color has a decimal value of 4204404.
HEX | 402774 | #402774 |
---|---|---|
RGB | 64, 39, 116 | rgb(64, 39, 116) |
RGB Percent | 25.1, 15.29, 45.49 | rgb(25.1, 15.29, 45.49) |
CMYK | 45, 66, 0, 55 | |
HSL | 259.5°, 49.68, 30.4 | hsl(259.5, 49.68%, 30.4%) |
HSV | 259.5°, 66.4, 45.5 |
XYZ | 5.992, 3.802, 16.941 |
---|---|
Hunter Lab | 19.499, 20.731, -37.864 |
CIE-LAB | 23.006, 30.869, -40.318 |
CIE-LCH | 23.006, 50.778, 307.439 |
CIE-LUV | 44.83, 66.38, 0, 54.51 |
Web Safe | 333366 |
RGB percent of color #402774
CMYK percent of color #402774
Text with hexadecimal color #402774
This text has a font color of #402774
<p style="color:#402774">Text here</p>
#402774 Background Color
This box has a background color of #402774
<div style="background-color:#402774">Text here</div>
#402774 Border Color
This box has a border color of #402774
<div style="border: 4px solid #402774">Text here</div>
CSS codes
<p style="color:#402774">Text here</p>
<div style="background-color:#402774">Text here</div>
<div style="border: 4px solid #402774">Text here</div>
#402774 Color on white background
This is how a font and box color of #402774 will look
on a white background.
#402774 Color on black background
This is how a font and box color of #402774 hex color will look
on a black background.