In RGB color space, #402fd6 hex color has a red value of 64, a green value of 47 and a blue value of 214.
In CMYK color space (used in color printing), #402fd6 hex color is composed of 70.09% cyan, 78.04% magenta, 0% yellow and 16.08% black.
#402fd6 color has a hue of 246.1 degrees, a saturation of 67.07% and a lightness of 51.2%.
#402fd6 hex color contains mainly BLUE.
The closest web safe color of #402fd6 is #3333cc
#402fd6 hex color has a decimal value of 4206550.
HEX | 402fd6 | #402fd6 |
---|---|---|
RGB | 64, 47, 214 | rgb(64, 47, 214) |
RGB Percent | 25.1, 18.43, 83.92 | rgb(25.1, 18.43, 83.92) |
CMYK | 70, 78, 0, 16 | |
HSL | 246.1°, 67.07, 51.2 | hsl(246.1, 67.07%, 51.2%) |
HSV | 246.1°, 78, 83.9 |
XYZ | 15.268, 7.978, 64.354 |
---|---|
Hunter Lab | 28.245, 47.059, -115.314 |
CIE-LAB | 33.937, 56.555, -81.744 |
CIE-LCH | 33.937, 99.401, 304.678 |
CIE-LUV | 70.09, 78.04, 0, 16.08 |
Web Safe | 3333cc |
RGB percent of color #402fd6
CMYK percent of color #402fd6
Text with hexadecimal color #402fd6
This text has a font color of #402fd6
<p style="color:#402fd6">Text here</p>
#402fd6 Background Color
This box has a background color of #402fd6
<div style="background-color:#402fd6">Text here</div>
#402fd6 Border Color
This box has a border color of #402fd6
<div style="border: 4px solid #402fd6">Text here</div>
CSS codes
<p style="color:#402fd6">Text here</p>
<div style="background-color:#402fd6">Text here</div>
<div style="border: 4px solid #402fd6">Text here</div>
#402fd6 Color on white background
This is how a font and box color of #402fd6 will look
on a white background.
#402fd6 Color on black background
This is how a font and box color of #402fd6 hex color will look
on a black background.