In RGB color space, #402a6e hex color has a red value of 64, a green value of 42 and a blue value of 110.
In CMYK color space (used in color printing), #402a6e hex color is composed of 41.82% cyan, 61.82% magenta, 0% yellow and 56.86% black.
#402a6e color has a hue of 259.4 degrees, a saturation of 44.74% and a lightness of 29.8%.
#402a6e hex color contains mainly BLUE.
The closest web safe color of #402a6e is #333366
#402a6e hex color has a decimal value of 4205166.
HEX | 402a6e | #402a6e |
---|---|---|
RGB | 64, 42, 110 | rgb(64, 42, 110) |
RGB Percent | 25.1, 16.47, 43.14 | rgb(25.1, 16.47, 43.14) |
CMYK | 42, 62, 0, 57 | |
HSL | 259.4°, 44.74, 29.8 | hsl(259.4, 44.74%, 29.8%) |
HSV | 259.4°, 61.8, 43.1 |
XYZ | 5.757, 3.872, 15.196 |
---|---|
Hunter Lab | 19.677, 17.788, -32.013 |
CIE-LAB | 23.244, 27.208, -36.08 |
CIE-LCH | 23.244, 45.189, 307.02 |
CIE-LUV | 41.82, 61.82, 0, 56.86 |
Web Safe | 333366 |
RGB percent of color #402a6e
CMYK percent of color #402a6e
Text with hexadecimal color #402a6e
This text has a font color of #402a6e
<p style="color:#402a6e">Text here</p>
#402a6e Background Color
This box has a background color of #402a6e
<div style="background-color:#402a6e">Text here</div>
#402a6e Border Color
This box has a border color of #402a6e
<div style="border: 4px solid #402a6e">Text here</div>
CSS codes
<p style="color:#402a6e">Text here</p>
<div style="background-color:#402a6e">Text here</div>
<div style="border: 4px solid #402a6e">Text here</div>
#402a6e Color on white background
This is how a font and box color of #402a6e will look
on a white background.
#402a6e Color on black background
This is how a font and box color of #402a6e hex color will look
on a black background.