In RGB color space, #402f70 hex color has a red value of 64, a green value of 47 and a blue value of 112.
In CMYK color space (used in color printing), #402f70 hex color is composed of 42.86% cyan, 58.04% magenta, 0% yellow and 56.08% black.
#402f70 color has a hue of 255.7 degrees, a saturation of 40.88% and a lightness of 31.2%.
#402f70 hex color contains mainly BLUE.
The closest web safe color of #402f70 is #333366
#402f70 hex color has a decimal value of 4206448.
HEX | 402f70 | #402f70 |
---|---|---|
RGB | 64, 47, 112 | rgb(64, 47, 112) |
RGB Percent | 25.1, 18.43, 43.92 | rgb(25.1, 18.43, 43.92) |
CMYK | 43, 58, 0, 56 | |
HSL | 255.7°, 40.88, 31.2 | hsl(255.7, 40.88%, 31.2%) |
HSV | 255.7°, 58, 43.9 |
XYZ | 6.055, 4.293, 15.839 |
---|---|
Hunter Lab | 20.72, 15.905, -30.82 |
CIE-LAB | 24.617, 24.618, -35.155 |
CIE-LCH | 24.617, 42.918, 305.002 |
CIE-LUV | 42.86, 58.04, 0, 56.08 |
Web Safe | 333366 |
RGB percent of color #402f70
CMYK percent of color #402f70
Text with hexadecimal color #402f70
This text has a font color of #402f70
<p style="color:#402f70">Text here</p>
#402f70 Background Color
This box has a background color of #402f70
<div style="background-color:#402f70">Text here</div>
#402f70 Border Color
This box has a border color of #402f70
<div style="border: 4px solid #402f70">Text here</div>
CSS codes
<p style="color:#402f70">Text here</p>
<div style="background-color:#402f70">Text here</div>
<div style="border: 4px solid #402f70">Text here</div>
#402f70 Color on white background
This is how a font and box color of #402f70 will look
on a white background.
#402f70 Color on black background
This is how a font and box color of #402f70 hex color will look
on a black background.