In RGB color space, #402fab hex color has a red value of 64, a green value of 47 and a blue value of 171.
In CMYK color space (used in color printing), #402fab hex color is composed of 62.57% cyan, 72.51% magenta, 0% yellow and 32.94% black.
#402fab color has a hue of 248.2 degrees, a saturation of 56.88% and a lightness of 42.7%.
#402fab hex color contains mainly BLUE.
The closest web safe color of #402fab is #333399
#402fab hex color has a decimal value of 4206507.
HEX | 402fab | #402fab |
---|---|---|
RGB | 64, 47, 171 | rgb(64, 47, 171) |
RGB Percent | 25.1, 18.43, 67.06 | rgb(25.1, 18.43, 67.06) |
CMYK | 63, 73, 0, 33 | |
HSL | 248.2°, 56.88, 42.7 | hsl(248.2, 56.88%, 42.7%) |
HSV | 248.2°, 72.5, 67.1 |
XYZ | 10.482, 6.063, 39.146 |
---|---|
Hunter Lab | 24.623, 32.896, -77.023 |
CIE-LAB | 29.571, 43.35, -63.642 |
CIE-LCH | 29.571, 77.003, 304.261 |
CIE-LUV | 62.57, 72.51, 0, 32.94 |
Web Safe | 333399 |
RGB percent of color #402fab
CMYK percent of color #402fab
Text with hexadecimal color #402fab
This text has a font color of #402fab
<p style="color:#402fab">Text here</p>
#402fab Background Color
This box has a background color of #402fab
<div style="background-color:#402fab">Text here</div>
#402fab Border Color
This box has a border color of #402fab
<div style="border: 4px solid #402fab">Text here</div>
CSS codes
<p style="color:#402fab">Text here</p>
<div style="background-color:#402fab">Text here</div>
<div style="border: 4px solid #402fab">Text here</div>
#402fab Color on white background
This is how a font and box color of #402fab will look
on a white background.
#402fab Color on black background
This is how a font and box color of #402fab hex color will look
on a black background.