In RGB color space, #402f8d hex color has a red value of 64, a green value of 47 and a blue value of 141.
In CMYK color space (used in color printing), #402f8d hex color is composed of 54.61% cyan, 66.67% magenta, 0% yellow and 44.71% black.
#402f8d color has a hue of 250.9 degrees, a saturation of 50% and a lightness of 36.9%.
#402f8d hex color contains mainly BLUE.
The closest web safe color of #402f8d is #333399
#402f8d hex color has a decimal value of 4206477.
HEX | 402f8d | #402f8d |
---|---|---|
RGB | 64, 47, 141 | rgb(64, 47, 141) |
RGB Percent | 25.1, 18.43, 55.29 | rgb(25.1, 18.43, 55.29) |
CMYK | 55, 67, 0, 45 | |
HSL | 250.9°, 50, 36.9 | hsl(250.9, 50%, 36.9%) |
HSV | 250.9°, 66.7, 55.3 |
XYZ | 7.939, 5.046, 25.755 |
---|---|
Hunter Lab | 22.463, 23.775, -52.254 |
CIE-LAB | 26.865, 33.8, -49.783 |
CIE-LCH | 26.865, 60.173, 304.174 |
CIE-LUV | 54.61, 66.67, 0, 44.71 |
Web Safe | 333399 |
RGB percent of color #402f8d
CMYK percent of color #402f8d
Text with hexadecimal color #402f8d
This text has a font color of #402f8d
<p style="color:#402f8d">Text here</p>
#402f8d Background Color
This box has a background color of #402f8d
<div style="background-color:#402f8d">Text here</div>
#402f8d Border Color
This box has a border color of #402f8d
<div style="border: 4px solid #402f8d">Text here</div>
CSS codes
<p style="color:#402f8d">Text here</p>
<div style="background-color:#402f8d">Text here</div>
<div style="border: 4px solid #402f8d">Text here</div>
#402f8d Color on white background
This is how a font and box color of #402f8d will look
on a white background.
#402f8d Color on black background
This is how a font and box color of #402f8d hex color will look
on a black background.