In RGB color space, #402496 hex color has a red value of 64, a green value of 36 and a blue value of 150.
In CMYK color space (used in color printing), #402496 hex color is composed of 57.33% cyan, 76% magenta, 0% yellow and 41.18% black.
#402496 color has a hue of 254.7 degrees, a saturation of 61.29% and a lightness of 36.5%.
#402496 hex color contains mainly BLUE.
The closest web safe color of #402496 is #333399
#402496 hex color has a decimal value of 4203670.
HEX | 402496 | #402496 |
---|---|---|
RGB | 64, 36, 150 | rgb(64, 36, 150) |
RGB Percent | 25.1, 14.12, 58.82 | rgb(25.1, 14.12, 58.82) |
CMYK | 57, 76, 0, 41 | |
HSL | 254.7°, 61.29, 36.5 | hsl(254.7, 61.29%, 36.5%) |
HSV | 254.7°, 76, 58.8 |
XYZ | 8.25, 4.554, 29.298 |
---|---|
Hunter Lab | 21.34, 31.662, -66.462 |
CIE-LAB | 25.424, 42.829, -57.697 |
CIE-LCH | 25.424, 71.856, 306.587 |
CIE-LUV | 57.33, 76, 0, 41.18 |
Web Safe | 333399 |
RGB percent of color #402496
CMYK percent of color #402496
Text with hexadecimal color #402496
This text has a font color of #402496
<p style="color:#402496">Text here</p>
#402496 Background Color
This box has a background color of #402496
<div style="background-color:#402496">Text here</div>
#402496 Border Color
This box has a border color of #402496
<div style="border: 4px solid #402496">Text here</div>
CSS codes
<p style="color:#402496">Text here</p>
<div style="background-color:#402496">Text here</div>
<div style="border: 4px solid #402496">Text here</div>
#402496 Color on white background
This is how a font and box color of #402496 will look
on a white background.
#402496 Color on black background
This is how a font and box color of #402496 hex color will look
on a black background.