In RGB color space, #402e98 hex color has a red value of 64, a green value of 46 and a blue value of 152.
In CMYK color space (used in color printing), #402e98 hex color is composed of 57.89% cyan, 69.74% magenta, 0% yellow and 40.39% black.
#402e98 color has a hue of 250.2 degrees, a saturation of 53.54% and a lightness of 38.8%.
#402e98 hex color contains mainly BLUE.
The closest web safe color of #402e98 is #333399
#402e98 hex color has a decimal value of 4206232.
HEX | 402e98 | #402e98 |
---|---|---|
RGB | 64, 46, 152 | rgb(64, 46, 152) |
RGB Percent | 25.1, 18.04, 59.61 | rgb(25.1, 18.04, 59.61) |
CMYK | 58, 70, 0, 40 | |
HSL | 250.2°, 53.54, 38.8 | hsl(250.2, 53.54%, 38.8%) |
HSV | 250.2°, 69.7, 59.6 |
XYZ | 8.759, 5.311, 30.269 |
---|---|
Hunter Lab | 23.046, 27.513, -61.742 |
CIE-LAB | 27.603, 37.9, -55.352 |
CIE-LCH | 27.603, 67.084, 304.4 |
CIE-LUV | 57.89, 69.74, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #402e98
CMYK percent of color #402e98
Text with hexadecimal color #402e98
This text has a font color of #402e98
<p style="color:#402e98">Text here</p>
#402e98 Background Color
This box has a background color of #402e98
<div style="background-color:#402e98">Text here</div>
#402e98 Border Color
This box has a border color of #402e98
<div style="border: 4px solid #402e98">Text here</div>
CSS codes
<p style="color:#402e98">Text here</p>
<div style="background-color:#402e98">Text here</div>
<div style="border: 4px solid #402e98">Text here</div>
#402e98 Color on white background
This is how a font and box color of #402e98 will look
on a white background.
#402e98 Color on black background
This is how a font and box color of #402e98 hex color will look
on a black background.