In RGB color space, #402388 hex color has a red value of 64, a green value of 35 and a blue value of 136.
In CMYK color space (used in color printing), #402388 hex color is composed of 52.94% cyan, 74.26% magenta, 0% yellow and 46.67% black.
#402388 color has a hue of 257.2 degrees, a saturation of 59.06% and a lightness of 33.5%.
#402388 hex color contains mainly BLUE.
The closest web safe color of #402388 is #333399
#402388 hex color has a decimal value of 4203400.
HEX | 402388 | #402388 |
---|---|---|
RGB | 64, 35, 136 | rgb(64, 35, 136) |
RGB Percent | 25.1, 13.73, 53.33 | rgb(25.1, 13.73, 53.33) |
CMYK | 53, 74, 0, 47 | |
HSL | 257.2°, 59.06, 33.5 | hsl(257.2, 59.06%, 33.5%) |
HSV | 257.2°, 74.3, 53.3 |
XYZ | 7.159, 4.07, 23.701 |
---|---|
Hunter Lab | 20.174, 28.037, -55.533 |
CIE-LAB | 23.902, 39.169, -51.513 |
CIE-LCH | 23.902, 64.713, 307.248 |
CIE-LUV | 52.94, 74.26, 0, 46.67 |
Web Safe | 333399 |
RGB percent of color #402388
CMYK percent of color #402388
Text with hexadecimal color #402388
This text has a font color of #402388
<p style="color:#402388">Text here</p>
#402388 Background Color
This box has a background color of #402388
<div style="background-color:#402388">Text here</div>
#402388 Border Color
This box has a border color of #402388
<div style="border: 4px solid #402388">Text here</div>
CSS codes
<p style="color:#402388">Text here</p>
<div style="background-color:#402388">Text here</div>
<div style="border: 4px solid #402388">Text here</div>
#402388 Color on white background
This is how a font and box color of #402388 will look
on a white background.
#402388 Color on black background
This is how a font and box color of #402388 hex color will look
on a black background.