In RGB color space, #402a99 hex color has a red value of 64, a green value of 42 and a blue value of 153.
In CMYK color space (used in color printing), #402a99 hex color is composed of 58.17% cyan, 72.55% magenta, 0% yellow and 40% black.
#402a99 color has a hue of 251.9 degrees, a saturation of 56.92% and a lightness of 38.2%.
#402a99 hex color contains mainly BLUE.
The closest web safe color of #402a99 is #333399
#402a99 hex color has a decimal value of 4205209.
HEX | 402a99 | #402a99 |
---|---|---|
RGB | 64, 42, 153 | rgb(64, 42, 153) |
RGB Percent | 25.1, 16.47, 60 | rgb(25.1, 16.47, 60) |
CMYK | 58, 73, 0, 40 | |
HSL | 251.9°, 56.92, 38.2 | hsl(251.9, 56.92%, 38.2%) |
HSV | 251.9°, 72.5, 60 |
XYZ | 8.692, 5.046, 30.653 |
---|---|
Hunter Lab | 22.463, 29.758, -65.182 |
CIE-LAB | 26.865, 40.502, -57.173 |
CIE-LCH | 26.865, 70.065, 305.314 |
CIE-LUV | 58.17, 72.55, 0, 40 |
Web Safe | 333399 |
RGB percent of color #402a99
CMYK percent of color #402a99
Text with hexadecimal color #402a99
This text has a font color of #402a99
<p style="color:#402a99">Text here</p>
#402a99 Background Color
This box has a background color of #402a99
<div style="background-color:#402a99">Text here</div>
#402a99 Border Color
This box has a border color of #402a99
<div style="border: 4px solid #402a99">Text here</div>
CSS codes
<p style="color:#402a99">Text here</p>
<div style="background-color:#402a99">Text here</div>
<div style="border: 4px solid #402a99">Text here</div>
#402a99 Color on white background
This is how a font and box color of #402a99 will look
on a white background.
#402a99 Color on black background
This is how a font and box color of #402a99 hex color will look
on a black background.