In RGB color space, #402f7b hex color has a red value of 64, a green value of 47 and a blue value of 123.
In CMYK color space (used in color printing), #402f7b hex color is composed of 47.97% cyan, 61.79% magenta, 0% yellow and 51.76% black.
#402f7b color has a hue of 253.4 degrees, a saturation of 44.71% and a lightness of 33.3%.
#402f7b hex color contains mainly BLUE.
The closest web safe color of #402f7b is #333366
#402f7b hex color has a decimal value of 4206459.
HEX | 402f7b | #402f7b |
---|---|---|
RGB | 64, 47, 123 | rgb(64, 47, 123) |
RGB Percent | 25.1, 18.43, 48.24 | rgb(25.1, 18.43, 48.24) |
CMYK | 48, 62, 0, 52 | |
HSL | 253.4°, 44.71, 33.3 | hsl(253.4, 44.71%, 33.3%) |
HSV | 253.4°, 61.8, 48.2 |
XYZ | 6.706, 4.553, 19.264 |
---|---|
Hunter Lab | 21.338, 18.758, -38.591 |
CIE-LAB | 25.421, 28.067, -40.861 |
CIE-LCH | 25.421, 49.572, 304.485 |
CIE-LUV | 47.97, 61.79, 0, 51.76 |
Web Safe | 333366 |
RGB percent of color #402f7b
CMYK percent of color #402f7b
Text with hexadecimal color #402f7b
This text has a font color of #402f7b
<p style="color:#402f7b">Text here</p>
#402f7b Background Color
This box has a background color of #402f7b
<div style="background-color:#402f7b">Text here</div>
#402f7b Border Color
This box has a border color of #402f7b
<div style="border: 4px solid #402f7b">Text here</div>
CSS codes
<p style="color:#402f7b">Text here</p>
<div style="background-color:#402f7b">Text here</div>
<div style="border: 4px solid #402f7b">Text here</div>
#402f7b Color on white background
This is how a font and box color of #402f7b will look
on a white background.
#402f7b Color on black background
This is how a font and box color of #402f7b hex color will look
on a black background.