In RGB color space, #402ef5 hex color has a red value of 64, a green value of 46 and a blue value of 245.
In CMYK color space (used in color printing), #402ef5 hex color is composed of 73.88% cyan, 81.22% magenta, 0% yellow and 3.92% black.
#402ef5 color has a hue of 245.4 degrees, a saturation of 90.87% and a lightness of 57.1%.
#402ef5 hex color contains mainly BLUE.
The closest web safe color of #402ef5 is #3333ff
#402ef5 hex color has a decimal value of 4206325.
HEX | 402ef5 | #402ef5 |
---|---|---|
RGB | 64, 46, 245 | rgb(64, 46, 245) |
RGB Percent | 25.1, 18.04, 96.08 | rgb(25.1, 18.04, 96.08) |
CMYK | 74, 81, 0, 4 | |
HSL | 245.4°, 90.87, 57.1 | hsl(245.4, 90.87%, 57.1%) |
HSV | 245.4°, 81.2, 96.1 |
XYZ | 19.573, 9.637, 87.215 |
---|---|
Hunter Lab | 31.044, 58.218, -144.841 |
CIE-LAB | 37.183, 66.027, -94.046 |
CIE-LCH | 37.183, 114.91, 305.072 |
CIE-LUV | 73.88, 81.22, 0, 3.92 |
Web Safe | 3333ff |
RGB percent of color #402ef5
CMYK percent of color #402ef5
Text with hexadecimal color #402ef5
This text has a font color of #402ef5
<p style="color:#402ef5">Text here</p>
#402ef5 Background Color
This box has a background color of #402ef5
<div style="background-color:#402ef5">Text here</div>
#402ef5 Border Color
This box has a border color of #402ef5
<div style="border: 4px solid #402ef5">Text here</div>
CSS codes
<p style="color:#402ef5">Text here</p>
<div style="background-color:#402ef5">Text here</div>
<div style="border: 4px solid #402ef5">Text here</div>
#402ef5 Color on white background
This is how a font and box color of #402ef5 will look
on a white background.
#402ef5 Color on black background
This is how a font and box color of #402ef5 hex color will look
on a black background.