In RGB color space, #402ba4 hex color has a red value of 64, a green value of 43 and a blue value of 164.
In CMYK color space (used in color printing), #402ba4 hex color is composed of 60.98% cyan, 73.78% magenta, 0% yellow and 35.69% black.
#402ba4 color has a hue of 250.4 degrees, a saturation of 58.45% and a lightness of 40.6%.
#402ba4 hex color contains mainly BLUE.
The closest web safe color of #402ba4 is #333399
#402ba4 hex color has a decimal value of 4205476.
HEX | 402ba4 | #402ba4 |
---|---|---|
RGB | 64, 43, 164 | rgb(64, 43, 164) |
RGB Percent | 25.1, 16.86, 64.31 | rgb(25.1, 16.86, 64.31) |
CMYK | 61, 74, 0, 36 | |
HSL | 250.4°, 58.45, 40.6 | hsl(250.4, 58.45%, 40.6%) |
HSV | 250.4°, 73.8, 64.3 |
XYZ | 9.679, 5.498, 35.673 |
---|---|
Hunter Lab | 23.448, 32.649, -73.789 |
CIE-LAB | 28.109, 43.365, -61.827 |
CIE-LCH | 28.109, 75.519, 305.046 |
CIE-LUV | 60.98, 73.78, 0, 35.69 |
Web Safe | 333399 |
RGB percent of color #402ba4
CMYK percent of color #402ba4
Text with hexadecimal color #402ba4
This text has a font color of #402ba4
<p style="color:#402ba4">Text here</p>
#402ba4 Background Color
This box has a background color of #402ba4
<div style="background-color:#402ba4">Text here</div>
#402ba4 Border Color
This box has a border color of #402ba4
<div style="border: 4px solid #402ba4">Text here</div>
CSS codes
<p style="color:#402ba4">Text here</p>
<div style="background-color:#402ba4">Text here</div>
<div style="border: 4px solid #402ba4">Text here</div>
#402ba4 Color on white background
This is how a font and box color of #402ba4 will look
on a white background.
#402ba4 Color on black background
This is how a font and box color of #402ba4 hex color will look
on a black background.