In RGB color space, #402df8 hex color has a red value of 64, a green value of 45 and a blue value of 248.
In CMYK color space (used in color printing), #402df8 hex color is composed of 74.19% cyan, 81.85% magenta, 0% yellow and 2.75% black.
#402df8 color has a hue of 245.6 degrees, a saturation of 93.55% and a lightness of 57.5%.
#402df8 hex color contains mainly BLUE.
The closest web safe color of #402df8 is #3333ff
#402df8 hex color has a decimal value of 4206072.
HEX | 402df8 | #402df8 |
---|---|---|
RGB | 64, 45, 248 | rgb(64, 45, 248) |
RGB Percent | 25.1, 17.65, 97.25 | rgb(25.1, 17.65, 97.25) |
CMYK | 74, 82, 0, 3 | |
HSL | 245.6°, 93.55, 57.5 | hsl(245.6, 93.55%, 57.5%) |
HSV | 245.6°, 81.9, 97.3 |
XYZ | 19.996, 9.744, 89.634 |
---|---|
Hunter Lab | 31.215, 59.717, -148.399 |
CIE-LAB | 37.379, 67.293, -95.41 |
CIE-LCH | 37.379, 116.754, 305.195 |
CIE-LUV | 74.19, 81.85, 0, 2.75 |
Web Safe | 3333ff |
RGB percent of color #402df8
CMYK percent of color #402df8
Text with hexadecimal color #402df8
This text has a font color of #402df8
<p style="color:#402df8">Text here</p>
#402df8 Background Color
This box has a background color of #402df8
<div style="background-color:#402df8">Text here</div>
#402df8 Border Color
This box has a border color of #402df8
<div style="border: 4px solid #402df8">Text here</div>
CSS codes
<p style="color:#402df8">Text here</p>
<div style="background-color:#402df8">Text here</div>
<div style="border: 4px solid #402df8">Text here</div>
#402df8 Color on white background
This is how a font and box color of #402df8 will look
on a white background.
#402df8 Color on black background
This is how a font and box color of #402df8 hex color will look
on a black background.