In RGB color space, #402ef1 hex color has a red value of 64, a green value of 46 and a blue value of 241.
In CMYK color space (used in color printing), #402ef1 hex color is composed of 73.44% cyan, 80.91% magenta, 0% yellow and 5.49% black.
#402ef1 color has a hue of 245.5 degrees, a saturation of 87.44% and a lightness of 56.3%.
#402ef1 hex color contains mainly BLUE.
The closest web safe color of #402ef1 is #3333ff
#402ef1 hex color has a decimal value of 4206321.
HEX | 402ef1 | #402ef1 |
---|---|---|
RGB | 64, 46, 241 | rgb(64, 46, 241) |
RGB Percent | 25.1, 18.04, 94.51 | rgb(25.1, 18.04, 94.51) |
CMYK | 73, 81, 0, 5 | |
HSL | 245.5°, 87.44, 56.3 | hsl(245.5, 87.44%, 56.3%) |
HSV | 245.5°, 80.9, 94.5 |
XYZ | 18.969, 9.395, 84.033 |
---|---|
Hunter Lab | 30.651, 56.828, -141.093 |
CIE-LAB | 36.734, 64.893, -92.533 |
CIE-LCH | 36.734, 113.02, 305.042 |
CIE-LUV | 73.44, 80.91, 0, 5.49 |
Web Safe | 3333ff |
RGB percent of color #402ef1
CMYK percent of color #402ef1
Text with hexadecimal color #402ef1
This text has a font color of #402ef1
<p style="color:#402ef1">Text here</p>
#402ef1 Background Color
This box has a background color of #402ef1
<div style="background-color:#402ef1">Text here</div>
#402ef1 Border Color
This box has a border color of #402ef1
<div style="border: 4px solid #402ef1">Text here</div>
CSS codes
<p style="color:#402ef1">Text here</p>
<div style="background-color:#402ef1">Text here</div>
<div style="border: 4px solid #402ef1">Text here</div>
#402ef1 Color on white background
This is how a font and box color of #402ef1 will look
on a white background.
#402ef1 Color on black background
This is how a font and box color of #402ef1 hex color will look
on a black background.