In RGB color space, #402a9b hex color has a red value of 64, a green value of 42 and a blue value of 155.
In CMYK color space (used in color printing), #402a9b hex color is composed of 58.71% cyan, 72.9% magenta, 0% yellow and 39.22% black.
#402a9b color has a hue of 251.7 degrees, a saturation of 57.36% and a lightness of 38.6%.
#402a9b hex color contains mainly BLUE.
The closest web safe color of #402a9b is #333399
#402a9b hex color has a decimal value of 4205211.
HEX | 402a9b | #402a9b |
---|---|---|
RGB | 64, 42, 155 | rgb(64, 42, 155) |
RGB Percent | 25.1, 16.47, 60.78 | rgb(25.1, 16.47, 60.78) |
CMYK | 59, 73, 0, 39 | |
HSL | 251.7°, 57.36, 38.6 | hsl(251.7, 57.36%, 38.6%) |
HSV | 251.7°, 72.9, 60.8 |
XYZ | 8.859, 5.112, 31.53 |
---|---|
Hunter Lab | 22.61, 30.373, -66.855 |
CIE-LAB | 27.051, 41.133, -58.091 |
CIE-LCH | 27.051, 71.179, 305.301 |
CIE-LUV | 58.71, 72.9, 0, 39.22 |
Web Safe | 333399 |
RGB percent of color #402a9b
CMYK percent of color #402a9b
Text with hexadecimal color #402a9b
This text has a font color of #402a9b
<p style="color:#402a9b">Text here</p>
#402a9b Background Color
This box has a background color of #402a9b
<div style="background-color:#402a9b">Text here</div>
#402a9b Border Color
This box has a border color of #402a9b
<div style="border: 4px solid #402a9b">Text here</div>
CSS codes
<p style="color:#402a9b">Text here</p>
<div style="background-color:#402a9b">Text here</div>
<div style="border: 4px solid #402a9b">Text here</div>
#402a9b Color on white background
This is how a font and box color of #402a9b will look
on a white background.
#402a9b Color on black background
This is how a font and box color of #402a9b hex color will look
on a black background.