In RGB color space, #402dab hex color has a red value of 64, a green value of 45 and a blue value of 171.
In CMYK color space (used in color printing), #402dab hex color is composed of 62.57% cyan, 73.68% magenta, 0% yellow and 32.94% black.
#402dab color has a hue of 249 degrees, a saturation of 58.33% and a lightness of 42.4%.
#402dab hex color contains mainly BLUE.
The closest web safe color of #402dab is #333399
#402dab hex color has a decimal value of 4205995.
HEX | 402dab | #402dab |
---|---|---|
RGB | 64, 45, 171 | rgb(64, 45, 171) |
RGB Percent | 25.1, 17.65, 67.06 | rgb(25.1, 17.65, 67.06) |
CMYK | 63, 74, 0, 33 | |
HSL | 249°, 58.33, 42.4 | hsl(249, 58.33%, 42.4%) |
HSV | 249°, 73.7, 67.1 |
XYZ | 10.403, 5.907, 39.12 |
---|---|
Hunter Lab | 24.304, 33.871, -78.42 |
CIE-LAB | 29.177, 44.445, -64.291 |
CIE-LCH | 29.177, 78.158, 304.656 |
CIE-LUV | 62.57, 73.68, 0, 32.94 |
Web Safe | 333399 |
RGB percent of color #402dab
CMYK percent of color #402dab
Text with hexadecimal color #402dab
This text has a font color of #402dab
<p style="color:#402dab">Text here</p>
#402dab Background Color
This box has a background color of #402dab
<div style="background-color:#402dab">Text here</div>
#402dab Border Color
This box has a border color of #402dab
<div style="border: 4px solid #402dab">Text here</div>
CSS codes
<p style="color:#402dab">Text here</p>
<div style="background-color:#402dab">Text here</div>
<div style="border: 4px solid #402dab">Text here</div>
#402dab Color on white background
This is how a font and box color of #402dab will look
on a white background.
#402dab Color on black background
This is how a font and box color of #402dab hex color will look
on a black background.