In RGB color space, #402cf5 hex color has a red value of 64, a green value of 44 and a blue value of 245.
In CMYK color space (used in color printing), #402cf5 hex color is composed of 73.88% cyan, 82.04% magenta, 0% yellow and 3.92% black.
#402cf5 color has a hue of 246 degrees, a saturation of 90.95% and a lightness of 56.7%.
#402cf5 hex color contains mainly BLUE.
The closest web safe color of #402cf5 is #3333ff
#402cf5 hex color has a decimal value of 4205813.
HEX | 402cf5 | #402cf5 |
---|---|---|
RGB | 64, 44, 245 | rgb(64, 44, 245) |
RGB Percent | 25.1, 17.25, 96.08 | rgb(25.1, 17.25, 96.08) |
CMYK | 74, 82, 0, 4 | |
HSL | 246°, 90.95, 56.7 | hsl(246, 90.95%, 56.7%) |
HSV | 246°, 82, 96.1 |
XYZ | 19.496, 9.484, 87.189 |
---|---|
Hunter Lab | 30.796, 59.109, -146.303 |
CIE-LAB | 36.9, 66.859, -94.515 |
CIE-LCH | 36.9, 115.772, 305.275 |
CIE-LUV | 73.88, 82.04, 0, 3.92 |
Web Safe | 3333ff |
RGB percent of color #402cf5
CMYK percent of color #402cf5
Text with hexadecimal color #402cf5
This text has a font color of #402cf5
<p style="color:#402cf5">Text here</p>
#402cf5 Background Color
This box has a background color of #402cf5
<div style="background-color:#402cf5">Text here</div>
#402cf5 Border Color
This box has a border color of #402cf5
<div style="border: 4px solid #402cf5">Text here</div>
CSS codes
<p style="color:#402cf5">Text here</p>
<div style="background-color:#402cf5">Text here</div>
<div style="border: 4px solid #402cf5">Text here</div>
#402cf5 Color on white background
This is how a font and box color of #402cf5 will look
on a white background.
#402cf5 Color on black background
This is how a font and box color of #402cf5 hex color will look
on a black background.