In RGB color space, #402ba8 hex color has a red value of 64, a green value of 43 and a blue value of 168.
In CMYK color space (used in color printing), #402ba8 hex color is composed of 61.9% cyan, 74.4% magenta, 0% yellow and 34.12% black.
#402ba8 color has a hue of 250.1 degrees, a saturation of 59.24% and a lightness of 41.4%.
#402ba8 hex color contains mainly BLUE.
The closest web safe color of #402ba8 is #333399
#402ba8 hex color has a decimal value of 4205480.
HEX | 402ba8 | #402ba8 |
---|---|---|
RGB | 64, 43, 168 | rgb(64, 43, 168) |
RGB Percent | 25.1, 16.86, 65.88 | rgb(25.1, 16.86, 65.88) |
CMYK | 62, 74, 0, 34 | |
HSL | 250.1°, 59.24, 41.4 | hsl(250.1, 59.24%, 41.4%) |
HSV | 250.1°, 74.4, 65.9 |
XYZ | 10.046, 5.645, 37.606 |
---|---|
Hunter Lab | 23.759, 33.896, -77.213 |
CIE-LAB | 28.499, 44.6, -63.601 |
CIE-LCH | 28.499, 77.68, 305.04 |
CIE-LUV | 61.9, 74.4, 0, 34.12 |
Web Safe | 333399 |
RGB percent of color #402ba8
CMYK percent of color #402ba8
Text with hexadecimal color #402ba8
This text has a font color of #402ba8
<p style="color:#402ba8">Text here</p>
#402ba8 Background Color
This box has a background color of #402ba8
<div style="background-color:#402ba8">Text here</div>
#402ba8 Border Color
This box has a border color of #402ba8
<div style="border: 4px solid #402ba8">Text here</div>
CSS codes
<p style="color:#402ba8">Text here</p>
<div style="background-color:#402ba8">Text here</div>
<div style="border: 4px solid #402ba8">Text here</div>
#402ba8 Color on white background
This is how a font and box color of #402ba8 will look
on a white background.
#402ba8 Color on black background
This is how a font and box color of #402ba8 hex color will look
on a black background.