In RGB color space, #402454 hex color has a red value of 64, a green value of 36 and a blue value of 84.
In CMYK color space (used in color printing), #402454 hex color is composed of 23.81% cyan, 57.14% magenta, 0% yellow and 67.06% black.
#402454 color has a hue of 275 degrees, a saturation of 40% and a lightness of 23.5%.
#402454 hex color contains mainly BLUE.
The closest web safe color of #402454 is #333366
#402454 hex color has a decimal value of 4203604.
HEX | 402454 | #402454 |
---|---|---|
RGB | 64, 36, 84 | rgb(64, 36, 84) |
RGB Percent | 25.1, 14.12, 32.94 | rgb(25.1, 14.12, 32.94) |
CMYK | 24, 57, 0, 67 | |
HSL | 275°, 40, 23.5 | hsl(275, 40%, 23.5%) |
HSV | 275°, 57.1, 32.9 |
XYZ | 4.345, 2.992, 8.736 |
---|---|
Hunter Lab | 17.297, 14.568, -17.836 |
CIE-LAB | 20.012, 23.557, -24.172 |
CIE-LCH | 20.012, 33.752, 314.262 |
CIE-LUV | 23.81, 57.14, 0, 67.06 |
Web Safe | 333366 |
RGB percent of color #402454
CMYK percent of color #402454
Text with hexadecimal color #402454
This text has a font color of #402454
<p style="color:#402454">Text here</p>
#402454 Background Color
This box has a background color of #402454
<div style="background-color:#402454">Text here</div>
#402454 Border Color
This box has a border color of #402454
<div style="border: 4px solid #402454">Text here</div>
CSS codes
<p style="color:#402454">Text here</p>
<div style="background-color:#402454">Text here</div>
<div style="border: 4px solid #402454">Text here</div>
#402454 Color on white background
This is how a font and box color of #402454 will look
on a white background.
#402454 Color on black background
This is how a font and box color of #402454 hex color will look
on a black background.