In RGB color space, #402d99 hex color has a red value of 64, a green value of 45 and a blue value of 153.
In CMYK color space (used in color printing), #402d99 hex color is composed of 58.17% cyan, 70.59% magenta, 0% yellow and 40% black.
#402d99 color has a hue of 250.6 degrees, a saturation of 54.55% and a lightness of 38.8%.
#402d99 hex color contains mainly BLUE.
The closest web safe color of #402d99 is #333399
#402d99 hex color has a decimal value of 4205977.
HEX | 402d99 | #402d99 |
---|---|---|
RGB | 64, 45, 153 | rgb(64, 45, 153) |
RGB Percent | 25.1, 17.65, 60 | rgb(25.1, 17.65, 60) |
CMYK | 58, 71, 0, 40 | |
HSL | 250.6°, 54.55, 38.8 | hsl(250.6, 54.55%, 38.8%) |
HSV | 250.6°, 70.6, 60 |
XYZ | 8.803, 5.267, 30.69 |
---|---|
Hunter Lab | 22.95, 28.306, -63.221 |
CIE-LAB | 27.482, 38.798, -56.163 |
CIE-LCH | 27.482, 68.261, 304.637 |
CIE-LUV | 58.17, 70.59, 0, 40 |
Web Safe | 333399 |
RGB percent of color #402d99
CMYK percent of color #402d99
Text with hexadecimal color #402d99
This text has a font color of #402d99
<p style="color:#402d99">Text here</p>
#402d99 Background Color
This box has a background color of #402d99
<div style="background-color:#402d99">Text here</div>
#402d99 Border Color
This box has a border color of #402d99
<div style="border: 4px solid #402d99">Text here</div>
CSS codes
<p style="color:#402d99">Text here</p>
<div style="background-color:#402d99">Text here</div>
<div style="border: 4px solid #402d99">Text here</div>
#402d99 Color on white background
This is how a font and box color of #402d99 will look
on a white background.
#402d99 Color on black background
This is how a font and box color of #402d99 hex color will look
on a black background.