In RGB color space, #402cb9 hex color has a red value of 64, a green value of 44 and a blue value of 185.
In CMYK color space (used in color printing), #402cb9 hex color is composed of 65.41% cyan, 76.22% magenta, 0% yellow and 27.45% black.
#402cb9 color has a hue of 248.5 degrees, a saturation of 61.57% and a lightness of 44.9%.
#402cb9 hex color contains mainly BLUE.
The closest web safe color of #402cb9 is #3333cc
#402cb9 hex color has a decimal value of 4205753.
HEX | 402cb9 | #402cb9 |
---|---|---|
RGB | 64, 44, 185 | rgb(64, 44, 185) |
RGB Percent | 25.1, 17.25, 72.55 | rgb(25.1, 17.25, 72.55) |
CMYK | 65, 76, 0, 27 | |
HSL | 248.5°, 61.57, 44.9 | hsl(248.5, 61.57%, 44.9%) |
HSV | 248.5°, 76.2, 72.5 |
XYZ | 11.772, 6.394, 46.513 |
---|---|
Hunter Lab | 25.286, 38.849, -91.361 |
CIE-LAB | 30.385, 49.297, -70.652 |
CIE-LCH | 30.385, 86.15, 304.905 |
CIE-LUV | 65.41, 76.22, 0, 27.45 |
Web Safe | 3333cc |
RGB percent of color #402cb9
CMYK percent of color #402cb9
Text with hexadecimal color #402cb9
This text has a font color of #402cb9
<p style="color:#402cb9">Text here</p>
#402cb9 Background Color
This box has a background color of #402cb9
<div style="background-color:#402cb9">Text here</div>
#402cb9 Border Color
This box has a border color of #402cb9
<div style="border: 4px solid #402cb9">Text here</div>
CSS codes
<p style="color:#402cb9">Text here</p>
<div style="background-color:#402cb9">Text here</div>
<div style="border: 4px solid #402cb9">Text here</div>
#402cb9 Color on white background
This is how a font and box color of #402cb9 will look
on a white background.
#402cb9 Color on black background
This is how a font and box color of #402cb9 hex color will look
on a black background.