In RGB color space, #40408d hex color has a red value of 64, a green value of 64 and a blue value of 141.
In CMYK color space (used in color printing), #40408d hex color is composed of 54.61% cyan, 54.61% magenta, 0% yellow and 44.71% black.
#40408d color has a hue of 240 degrees, a saturation of 37.56% and a lightness of 40.2%.
#40408d hex color contains mainly BLUE.
The closest web safe color of #40408d is #333399
#40408d hex color has a decimal value of 4210829.
HEX | 40408d | #40408d |
---|---|---|
RGB | 64, 64, 141 | rgb(64, 64, 141) |
RGB Percent | 25.1, 25.1, 55.29 | rgb(25.1, 25.1, 55.29) |
CMYK | 55, 55, 0, 45 | |
HSL | 240°, 37.56, 40.2 | hsl(240, 37.56%, 40.2%) |
HSV | 240°, 54.6, 55.3 |
XYZ | 8.755, 6.68, 26.027 |
---|---|
Hunter Lab | 25.846, 15.235, -41.614 |
CIE-LAB | 31.067, 22.935, -42.973 |
CIE-LCH | 31.067, 48.71, 298.089 |
CIE-LUV | 54.61, 54.61, 0, 44.71 |
Web Safe | 333399 |
RGB percent of color #40408d
CMYK percent of color #40408d
Text with hexadecimal color #40408d
This text has a font color of #40408d
<p style="color:#40408d">Text here</p>
#40408d Background Color
This box has a background color of #40408d
<div style="background-color:#40408d">Text here</div>
#40408d Border Color
This box has a border color of #40408d
<div style="border: 4px solid #40408d">Text here</div>
CSS codes
<p style="color:#40408d">Text here</p>
<div style="background-color:#40408d">Text here</div>
<div style="border: 4px solid #40408d">Text here</div>
#40408d Color on white background
This is how a font and box color of #40408d will look
on a white background.
#40408d Color on black background
This is how a font and box color of #40408d hex color will look
on a black background.