In RGB color space, #402972 hex color has a red value of 64, a green value of 41 and a blue value of 114.
In CMYK color space (used in color printing), #402972 hex color is composed of 43.86% cyan, 64.04% magenta, 0% yellow and 55.29% black.
#402972 color has a hue of 258.9 degrees, a saturation of 47.1% and a lightness of 30.4%.
#402972 hex color contains mainly BLUE.
The closest web safe color of #402972 is #333366
#402972 hex color has a decimal value of 4204914.
HEX | 402972 | #402972 |
---|---|---|
RGB | 64, 41, 114 | rgb(64, 41, 114) |
RGB Percent | 25.1, 16.08, 44.71 | rgb(25.1, 16.08, 44.71) |
CMYK | 44, 64, 0, 55 | |
HSL | 258.9°, 47.1, 30.4 | hsl(258.9, 47.1%, 30.4%) |
HSV | 258.9°, 64, 44.7 |
XYZ | 5.945, 3.891, 16.357 |
---|---|
Hunter Lab | 19.726, 19.277, -35.357 |
CIE-LAB | 23.308, 29.046, -38.547 |
CIE-LCH | 23.308, 48.265, 306.999 |
CIE-LUV | 43.86, 64.04, 0, 55.29 |
Web Safe | 333366 |
RGB percent of color #402972
CMYK percent of color #402972
Text with hexadecimal color #402972
This text has a font color of #402972
<p style="color:#402972">Text here</p>
#402972 Background Color
This box has a background color of #402972
<div style="background-color:#402972">Text here</div>
#402972 Border Color
This box has a border color of #402972
<div style="border: 4px solid #402972">Text here</div>
CSS codes
<p style="color:#402972">Text here</p>
<div style="background-color:#402972">Text here</div>
<div style="border: 4px solid #402972">Text here</div>
#402972 Color on white background
This is how a font and box color of #402972 will look
on a white background.
#402972 Color on black background
This is how a font and box color of #402972 hex color will look
on a black background.