In RGB color space, #402fb9 hex color has a red value of 64, a green value of 47 and a blue value of 185.
In CMYK color space (used in color printing), #402fb9 hex color is composed of 65.41% cyan, 74.59% magenta, 0% yellow and 27.45% black.
#402fb9 color has a hue of 247.4 degrees, a saturation of 59.48% and a lightness of 45.5%.
#402fb9 hex color contains mainly BLUE.
The closest web safe color of #402fb9 is #3333cc
#402fb9 hex color has a decimal value of 4206521.
HEX | 402fb9 | #402fb9 |
---|---|---|
RGB | 64, 47, 185 | rgb(64, 47, 185) |
RGB Percent | 25.1, 18.43, 72.55 | rgb(25.1, 18.43, 72.55) |
CMYK | 65, 75, 0, 27 | |
HSL | 247.4°, 59.48, 45.5 | hsl(247.4, 59.48%, 45.5%) |
HSV | 247.4°, 74.6, 72.5 |
XYZ | 11.888, 6.626, 46.551 |
---|---|
Hunter Lab | 25.741, 37.39, -89.203 |
CIE-LAB | 30.94, 47.723, -69.737 |
CIE-LCH | 30.94, 84.503, 304.385 |
CIE-LUV | 65.41, 74.59, 0, 27.45 |
Web Safe | 3333cc |
RGB percent of color #402fb9
CMYK percent of color #402fb9
Text with hexadecimal color #402fb9
This text has a font color of #402fb9
<p style="color:#402fb9">Text here</p>
#402fb9 Background Color
This box has a background color of #402fb9
<div style="background-color:#402fb9">Text here</div>
#402fb9 Border Color
This box has a border color of #402fb9
<div style="border: 4px solid #402fb9">Text here</div>
CSS codes
<p style="color:#402fb9">Text here</p>
<div style="background-color:#402fb9">Text here</div>
<div style="border: 4px solid #402fb9">Text here</div>
#402fb9 Color on white background
This is how a font and box color of #402fb9 will look
on a white background.
#402fb9 Color on black background
This is how a font and box color of #402fb9 hex color will look
on a black background.