In RGB color space, #402098 hex color has a red value of 64, a green value of 32 and a blue value of 152.
In CMYK color space (used in color printing), #402098 hex color is composed of 57.89% cyan, 78.95% magenta, 0% yellow and 40.39% black.
#402098 color has a hue of 256 degrees, a saturation of 65.22% and a lightness of 36.1%.
#402098 hex color contains mainly BLUE.
The closest web safe color of #402098 is #333399
#402098 hex color has a decimal value of 4202648.
HEX | 402098 | #402098 |
---|---|---|
RGB | 64, 32, 152 | rgb(64, 32, 152) |
RGB Percent | 25.1, 12.55, 59.61 | rgb(25.1, 12.55, 59.61) |
CMYK | 58, 79, 0, 40 | |
HSL | 256°, 65.22, 36.1 | hsl(256, 65.22%, 36.1%) |
HSV | 256°, 78.9, 59.6 |
XYZ | 8.298, 4.39, 30.116 |
---|---|
Hunter Lab | 20.952, 34.027, -70.554 |
CIE-LAB | 24.921, 45.427, -59.756 |
CIE-LCH | 24.921, 75.063, 307.242 |
CIE-LUV | 57.89, 78.95, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #402098
CMYK percent of color #402098
Text with hexadecimal color #402098
This text has a font color of #402098
<p style="color:#402098">Text here</p>
#402098 Background Color
This box has a background color of #402098
<div style="background-color:#402098">Text here</div>
#402098 Border Color
This box has a border color of #402098
<div style="border: 4px solid #402098">Text here</div>
CSS codes
<p style="color:#402098">Text here</p>
<div style="background-color:#402098">Text here</div>
<div style="border: 4px solid #402098">Text here</div>
#402098 Color on white background
This is how a font and box color of #402098 will look
on a white background.
#402098 Color on black background
This is how a font and box color of #402098 hex color will look
on a black background.