In RGB color space, #402ea8 hex color has a red value of 64, a green value of 46 and a blue value of 168.
In CMYK color space (used in color printing), #402ea8 hex color is composed of 61.9% cyan, 72.62% magenta, 0% yellow and 34.12% black.
#402ea8 color has a hue of 248.9 degrees, a saturation of 57.01% and a lightness of 42%.
#402ea8 hex color contains mainly BLUE.
The closest web safe color of #402ea8 is #333399
#402ea8 hex color has a decimal value of 4206248.
HEX | 402ea8 | #402ea8 |
---|---|---|
RGB | 64, 46, 168 | rgb(64, 46, 168) |
RGB Percent | 25.1, 18.04, 65.88 | rgb(25.1, 18.04, 65.88) |
CMYK | 62, 73, 0, 34 | |
HSL | 248.9°, 57.01, 42 | hsl(248.9, 57.01%, 42%) |
HSV | 248.9°, 72.6, 65.9 |
XYZ | 10.159, 5.871, 37.644 |
---|---|
Hunter Lab | 24.23, 32.437, -75.152 |
CIE-LAB | 29.085, 42.957, -62.638 |
CIE-LCH | 29.085, 75.953, 304.442 |
CIE-LUV | 61.9, 72.62, 0, 34.12 |
Web Safe | 333399 |
RGB percent of color #402ea8
CMYK percent of color #402ea8
Text with hexadecimal color #402ea8
This text has a font color of #402ea8
<p style="color:#402ea8">Text here</p>
#402ea8 Background Color
This box has a background color of #402ea8
<div style="background-color:#402ea8">Text here</div>
#402ea8 Border Color
This box has a border color of #402ea8
<div style="border: 4px solid #402ea8">Text here</div>
CSS codes
<p style="color:#402ea8">Text here</p>
<div style="background-color:#402ea8">Text here</div>
<div style="border: 4px solid #402ea8">Text here</div>
#402ea8 Color on white background
This is how a font and box color of #402ea8 will look
on a white background.
#402ea8 Color on black background
This is how a font and box color of #402ea8 hex color will look
on a black background.