In RGB color space, #402bf2 hex color has a red value of 64, a green value of 43 and a blue value of 242.
In CMYK color space (used in color printing), #402bf2 hex color is composed of 73.55% cyan, 82.23% magenta, 0% yellow and 5.1% black.
#402bf2 color has a hue of 246.3 degrees, a saturation of 88.44% and a lightness of 55.9%.
#402bf2 hex color contains mainly BLUE.
The closest web safe color of #402bf2 is #3333ff
#402bf2 hex color has a decimal value of 4205554.
HEX | 402bf2 | #402bf2 |
---|---|---|
RGB | 64, 43, 242 | rgb(64, 43, 242) |
RGB Percent | 25.1, 16.86, 94.9 | rgb(25.1, 16.86, 94.9) |
CMYK | 74, 82, 0, 5 | |
HSL | 246.3°, 88.44, 55.9 | hsl(246.3, 88.44%, 55.9%) |
HSV | 246.3°, 82.2, 94.9 |
XYZ | 19.005, 9.229, 84.784 |
---|---|
Hunter Lab | 30.379, 58.504, -144.204 |
CIE-LAB | 36.422, 66.424, -93.617 |
CIE-LCH | 36.422, 114.788, 305.357 |
CIE-LUV | 73.55, 82.23, 0, 5.1 |
Web Safe | 3333ff |
RGB percent of color #402bf2
CMYK percent of color #402bf2
Text with hexadecimal color #402bf2
This text has a font color of #402bf2
<p style="color:#402bf2">Text here</p>
#402bf2 Background Color
This box has a background color of #402bf2
<div style="background-color:#402bf2">Text here</div>
#402bf2 Border Color
This box has a border color of #402bf2
<div style="border: 4px solid #402bf2">Text here</div>
CSS codes
<p style="color:#402bf2">Text here</p>
<div style="background-color:#402bf2">Text here</div>
<div style="border: 4px solid #402bf2">Text here</div>
#402bf2 Color on white background
This is how a font and box color of #402bf2 will look
on a white background.
#402bf2 Color on black background
This is how a font and box color of #402bf2 hex color will look
on a black background.