In RGB color space, #402d9d hex color has a red value of 64, a green value of 45 and a blue value of 157.
In CMYK color space (used in color printing), #402d9d hex color is composed of 59.24% cyan, 71.34% magenta, 0% yellow and 38.43% black.
#402d9d color has a hue of 250.2 degrees, a saturation of 55.45% and a lightness of 39.6%.
#402d9d hex color contains mainly BLUE.
The closest web safe color of #402d9d is #333399
#402d9d hex color has a decimal value of 4205981.
HEX | 402d9d | #402d9d |
---|---|---|
RGB | 64, 45, 157 | rgb(64, 45, 157) |
RGB Percent | 25.1, 17.65, 61.57 | rgb(25.1, 17.65, 61.57) |
CMYK | 59, 71, 0, 38 | |
HSL | 250.2°, 55.45, 39.6 | hsl(250.2, 55.45%, 39.6%) |
HSV | 250.2°, 71.3, 61.6 |
XYZ | 9.139, 5.401, 32.459 |
---|---|
Hunter Lab | 23.24, 29.524, -66.541 |
CIE-LAB | 27.848, 40.064, -58.005 |
CIE-LCH | 27.848, 70.496, 304.633 |
CIE-LUV | 59.24, 71.34, 0, 38.43 |
Web Safe | 333399 |
RGB percent of color #402d9d
CMYK percent of color #402d9d
Text with hexadecimal color #402d9d
This text has a font color of #402d9d
<p style="color:#402d9d">Text here</p>
#402d9d Background Color
This box has a background color of #402d9d
<div style="background-color:#402d9d">Text here</div>
#402d9d Border Color
This box has a border color of #402d9d
<div style="border: 4px solid #402d9d">Text here</div>
CSS codes
<p style="color:#402d9d">Text here</p>
<div style="background-color:#402d9d">Text here</div>
<div style="border: 4px solid #402d9d">Text here</div>
#402d9d Color on white background
This is how a font and box color of #402d9d will look
on a white background.
#402d9d Color on black background
This is how a font and box color of #402d9d hex color will look
on a black background.