In RGB color space, #402cd9 hex color has a red value of 64, a green value of 44 and a blue value of 217.
In CMYK color space (used in color printing), #402cd9 hex color is composed of 70.51% cyan, 79.72% magenta, 0% yellow and 14.9% black.
#402cd9 color has a hue of 246.9 degrees, a saturation of 69.48% and a lightness of 51.2%.
#402cd9 hex color contains mainly BLUE.
The closest web safe color of #402cd9 is #3333cc
#402cd9 hex color has a decimal value of 4205785.
HEX | 402cd9 | #402cd9 |
---|---|---|
RGB | 64, 44, 217 | rgb(64, 44, 217) |
RGB Percent | 25.1, 17.25, 85.1 | rgb(25.1, 17.25, 85.1) |
CMYK | 71, 80, 0, 15 | |
HSL | 246.9°, 69.48, 51.2 | hsl(246.9, 69.48%, 51.2%) |
HSV | 246.9°, 79.7, 85.1 |
XYZ | 15.539, 7.901, 66.352 |
---|---|
Hunter Lab | 28.109, 49.488, -120.281 |
CIE-LAB | 33.776, 58.849, -83.741 |
CIE-LCH | 33.776, 102.351, 305.098 |
CIE-LUV | 70.51, 79.72, 0, 14.9 |
Web Safe | 3333cc |
RGB percent of color #402cd9
CMYK percent of color #402cd9
Text with hexadecimal color #402cd9
This text has a font color of #402cd9
<p style="color:#402cd9">Text here</p>
#402cd9 Background Color
This box has a background color of #402cd9
<div style="background-color:#402cd9">Text here</div>
#402cd9 Border Color
This box has a border color of #402cd9
<div style="border: 4px solid #402cd9">Text here</div>
CSS codes
<p style="color:#402cd9">Text here</p>
<div style="background-color:#402cd9">Text here</div>
<div style="border: 4px solid #402cd9">Text here</div>
#402cd9 Color on white background
This is how a font and box color of #402cd9 will look
on a white background.
#402cd9 Color on black background
This is how a font and box color of #402cd9 hex color will look
on a black background.