In RGB color space, #402ec5 hex color has a red value of 64, a green value of 46 and a blue value of 197.
In CMYK color space (used in color printing), #402ec5 hex color is composed of 67.51% cyan, 76.65% magenta, 0% yellow and 22.75% black.
#402ec5 color has a hue of 247.2 degrees, a saturation of 62.14% and a lightness of 47.6%.
#402ec5 hex color contains mainly BLUE.
The closest web safe color of #402ec5 is #3333cc
#402ec5 hex color has a decimal value of 4206277.
HEX | 402ec5 | #402ec5 |
---|---|---|
RGB | 64, 46, 197 | rgb(64, 46, 197) |
RGB Percent | 25.1, 18.04, 77.25 | rgb(25.1, 18.04, 77.25) |
CMYK | 68, 77, 0, 23 | |
HSL | 247.2°, 62.14, 47.6 | hsl(247.2, 62.14%, 47.6%) |
HSV | 247.2°, 76.6, 77.3 |
XYZ | 13.169, 7.075, 53.495 |
---|---|
Hunter Lab | 26.599, 41.827, -100.623 |
CIE-LAB | 31.977, 51.929, -75.096 |
CIE-LCH | 31.977, 91.302, 304.664 |
CIE-LUV | 67.51, 76.65, 0, 22.75 |
Web Safe | 3333cc |
RGB percent of color #402ec5
CMYK percent of color #402ec5
Text with hexadecimal color #402ec5
This text has a font color of #402ec5
<p style="color:#402ec5">Text here</p>
#402ec5 Background Color
This box has a background color of #402ec5
<div style="background-color:#402ec5">Text here</div>
#402ec5 Border Color
This box has a border color of #402ec5
<div style="border: 4px solid #402ec5">Text here</div>
CSS codes
<p style="color:#402ec5">Text here</p>
<div style="background-color:#402ec5">Text here</div>
<div style="border: 4px solid #402ec5">Text here</div>
#402ec5 Color on white background
This is how a font and box color of #402ec5 will look
on a white background.
#402ec5 Color on black background
This is how a font and box color of #402ec5 hex color will look
on a black background.