In RGB color space, #402baf hex color has a red value of 64, a green value of 43 and a blue value of 175.
In CMYK color space (used in color printing), #402baf hex color is composed of 63.43% cyan, 75.43% magenta, 0% yellow and 31.37% black.
#402baf color has a hue of 249.5 degrees, a saturation of 60.55% and a lightness of 42.7%.
#402baf hex color contains mainly BLUE.
The closest web safe color of #402baf is #333399
#402baf hex color has a decimal value of 4205487.
HEX | 402baf | #402baf |
---|---|---|
RGB | 64, 43, 175 | rgb(64, 43, 175) |
RGB Percent | 25.1, 16.86, 68.63 | rgb(25.1, 16.86, 68.63) |
CMYK | 63, 75, 0, 31 | |
HSL | 249.5°, 60.55, 42.7 | hsl(249.5, 60.55%, 42.7%) |
HSV | 249.5°, 75.4, 68.6 |
XYZ | 10.716, 5.913, 41.134 |
---|---|
Hunter Lab | 24.317, 36.108, -83.273 |
CIE-LAB | 29.192, 46.754, -66.664 |
CIE-LCH | 29.192, 81.425, 305.043 |
CIE-LUV | 63.43, 75.43, 0, 31.37 |
Web Safe | 333399 |
RGB percent of color #402baf
CMYK percent of color #402baf
Text with hexadecimal color #402baf
This text has a font color of #402baf
<p style="color:#402baf">Text here</p>
#402baf Background Color
This box has a background color of #402baf
<div style="background-color:#402baf">Text here</div>
#402baf Border Color
This box has a border color of #402baf
<div style="border: 4px solid #402baf">Text here</div>
CSS codes
<p style="color:#402baf">Text here</p>
<div style="background-color:#402baf">Text here</div>
<div style="border: 4px solid #402baf">Text here</div>
#402baf Color on white background
This is how a font and box color of #402baf will look
on a white background.
#402baf Color on black background
This is how a font and box color of #402baf hex color will look
on a black background.