In RGB color space, #402faa hex color has a red value of 64, a green value of 47 and a blue value of 170.
In CMYK color space (used in color printing), #402faa hex color is composed of 62.35% cyan, 72.35% magenta, 0% yellow and 33.33% black.
#402faa color has a hue of 248.3 degrees, a saturation of 56.68% and a lightness of 42.5%.
#402faa hex color contains mainly BLUE.
The closest web safe color of #402faa is #333399
#402faa hex color has a decimal value of 4206506.
HEX | 402faa | #402faa |
---|---|---|
RGB | 64, 47, 170 | rgb(64, 47, 170) |
RGB Percent | 25.1, 18.43, 66.67 | rgb(25.1, 18.43, 66.67) |
CMYK | 62, 72, 0, 33 | |
HSL | 248.3°, 56.68, 42.5 | hsl(248.3, 56.68%, 42.5%) |
HSV | 248.3°, 72.4, 66.7 |
XYZ | 10.387, 6.025, 38.646 |
---|---|
Hunter Lab | 24.546, 32.58, -76.166 |
CIE-LAB | 29.475, 43.034, -63.199 |
CIE-LCH | 29.475, 76.459, 304.252 |
CIE-LUV | 62.35, 72.35, 0, 33.33 |
Web Safe | 333399 |
RGB percent of color #402faa
CMYK percent of color #402faa
Text with hexadecimal color #402faa
This text has a font color of #402faa
<p style="color:#402faa">Text here</p>
#402faa Background Color
This box has a background color of #402faa
<div style="background-color:#402faa">Text here</div>
#402faa Border Color
This box has a border color of #402faa
<div style="border: 4px solid #402faa">Text here</div>
CSS codes
<p style="color:#402faa">Text here</p>
<div style="background-color:#402faa">Text here</div>
<div style="border: 4px solid #402faa">Text here</div>
#402faa Color on white background
This is how a font and box color of #402faa will look
on a white background.
#402faa Color on black background
This is how a font and box color of #402faa hex color will look
on a black background.