In RGB color space, #402fb8 hex color has a red value of 64, a green value of 47 and a blue value of 184.
In CMYK color space (used in color printing), #402fb8 hex color is composed of 65.22% cyan, 74.46% magenta, 0% yellow and 27.84% black.
#402fb8 color has a hue of 247.4 degrees, a saturation of 59.31% and a lightness of 45.3%.
#402fb8 hex color contains mainly BLUE.
The closest web safe color of #402fb8 is #3333cc
#402fb8 hex color has a decimal value of 4206520.
HEX | 402fb8 | #402fb8 |
---|---|---|
RGB | 64, 47, 184 | rgb(64, 47, 184) |
RGB Percent | 25.1, 18.43, 72.16 | rgb(25.1, 18.43, 72.16) |
CMYK | 65, 74, 0, 28 | |
HSL | 247.4°, 59.31, 45.3 | hsl(247.4, 59.31%, 45.3%) |
HSV | 247.4°, 74.5, 72.2 |
XYZ | 11.783, 6.584, 45.997 |
---|---|
Hunter Lab | 25.659, 37.065, -88.322 |
CIE-LAB | 30.84, 47.413, -69.308 |
CIE-LCH | 30.84, 83.974, 304.376 |
CIE-LUV | 65.22, 74.46, 0, 27.84 |
Web Safe | 3333cc |
RGB percent of color #402fb8
CMYK percent of color #402fb8
Text with hexadecimal color #402fb8
This text has a font color of #402fb8
<p style="color:#402fb8">Text here</p>
#402fb8 Background Color
This box has a background color of #402fb8
<div style="background-color:#402fb8">Text here</div>
#402fb8 Border Color
This box has a border color of #402fb8
<div style="border: 4px solid #402fb8">Text here</div>
CSS codes
<p style="color:#402fb8">Text here</p>
<div style="background-color:#402fb8">Text here</div>
<div style="border: 4px solid #402fb8">Text here</div>
#402fb8 Color on white background
This is how a font and box color of #402fb8 will look
on a white background.
#402fb8 Color on black background
This is how a font and box color of #402fb8 hex color will look
on a black background.