In RGB color space, #402fa9 hex color has a red value of 64, a green value of 47 and a blue value of 169.
In CMYK color space (used in color printing), #402fa9 hex color is composed of 62.13% cyan, 72.19% magenta, 0% yellow and 33.73% black.
#402fa9 color has a hue of 248.4 degrees, a saturation of 56.48% and a lightness of 42.4%.
#402fa9 hex color contains mainly BLUE.
The closest web safe color of #402fa9 is #333399
#402fa9 hex color has a decimal value of 4206505.
HEX | 402fa9 | #402fa9 |
---|---|---|
RGB | 64, 47, 169 | rgb(64, 47, 169) |
RGB Percent | 25.1, 18.43, 66.27 | rgb(25.1, 18.43, 66.27) |
CMYK | 62, 72, 0, 34 | |
HSL | 248.4°, 56.48, 42.4 | hsl(248.4, 56.48%, 42.4%) |
HSV | 248.4°, 72.2, 66.3 |
XYZ | 10.292, 5.988, 38.149 |
---|---|
Hunter Lab | 24.47, 32.252, -75.303 |
CIE-LAB | 29.382, 42.705, -62.75 |
CIE-LCH | 29.382, 75.903, 304.238 |
CIE-LUV | 62.13, 72.19, 0, 33.73 |
Web Safe | 333399 |
RGB percent of color #402fa9
CMYK percent of color #402fa9
Text with hexadecimal color #402fa9
This text has a font color of #402fa9
<p style="color:#402fa9">Text here</p>
#402fa9 Background Color
This box has a background color of #402fa9
<div style="background-color:#402fa9">Text here</div>
#402fa9 Border Color
This box has a border color of #402fa9
<div style="border: 4px solid #402fa9">Text here</div>
CSS codes
<p style="color:#402fa9">Text here</p>
<div style="background-color:#402fa9">Text here</div>
<div style="border: 4px solid #402fa9">Text here</div>
#402fa9 Color on white background
This is how a font and box color of #402fa9 will look
on a white background.
#402fa9 Color on black background
This is how a font and box color of #402fa9 hex color will look
on a black background.