In RGB color space, #402b9d hex color has a red value of 64, a green value of 43 and a blue value of 157.
In CMYK color space (used in color printing), #402b9d hex color is composed of 59.24% cyan, 72.61% magenta, 0% yellow and 38.43% black.
#402b9d color has a hue of 251.1 degrees, a saturation of 57% and a lightness of 39.2%.
#402b9d hex color contains mainly BLUE.
The closest web safe color of #402b9d is #333399
#402b9d hex color has a decimal value of 4205469.
HEX | 402b9d | #402b9d |
---|---|---|
RGB | 64, 43, 157 | rgb(64, 43, 157) |
RGB Percent | 25.1, 16.86, 61.57 | rgb(25.1, 16.86, 61.57) |
CMYK | 59, 73, 0, 38 | |
HSL | 251.1°, 57, 39.2 | hsl(251.1, 57%, 39.2%) |
HSV | 251.1°, 72.6, 61.6 |
XYZ | 9.064, 5.252, 32.434 |
---|---|
Hunter Lab | 22.917, 30.493, -67.869 |
CIE-LAB | 27.441, 41.19, -58.672 |
CIE-LCH | 27.441, 71.687, 305.07 |
CIE-LUV | 59.24, 72.61, 0, 38.43 |
Web Safe | 333399 |
RGB percent of color #402b9d
CMYK percent of color #402b9d
Text with hexadecimal color #402b9d
This text has a font color of #402b9d
<p style="color:#402b9d">Text here</p>
#402b9d Background Color
This box has a background color of #402b9d
<div style="background-color:#402b9d">Text here</div>
#402b9d Border Color
This box has a border color of #402b9d
<div style="border: 4px solid #402b9d">Text here</div>
CSS codes
<p style="color:#402b9d">Text here</p>
<div style="background-color:#402b9d">Text here</div>
<div style="border: 4px solid #402b9d">Text here</div>
#402b9d Color on white background
This is how a font and box color of #402b9d will look
on a white background.
#402b9d Color on black background
This is how a font and box color of #402b9d hex color will look
on a black background.