In RGB color space, #40407e hex color has a red value of 64, a green value of 64 and a blue value of 126.
In CMYK color space (used in color printing), #40407e hex color is composed of 49.21% cyan, 49.21% magenta, 0% yellow and 50.59% black.
#40407e color has a hue of 240 degrees, a saturation of 32.63% and a lightness of 37.3%.
#40407e hex color contains mainly BLUE.
The closest web safe color of #40407e is #333366
#40407e hex color has a decimal value of 4210814.
HEX | 40407e | #40407e |
---|---|---|
RGB | 64, 64, 126 | rgb(64, 64, 126) |
RGB Percent | 25.1, 25.1, 49.41 | rgb(25.1, 25.1, 49.41) |
CMYK | 49, 49, 0, 51 | |
HSL | 240°, 32.63, 37.3 | hsl(240, 32.63%, 37.3%) |
HSV | 240°, 49.2, 49.4 |
XYZ | 7.714, 6.263, 20.541 |
---|---|
Hunter Lab | 25.026, 11.225, -31.146 |
CIE-LAB | 30.067, 17.917, -35.28 |
CIE-LCH | 30.067, 39.569, 296.924 |
CIE-LUV | 49.21, 49.21, 0, 50.59 |
Web Safe | 333366 |
RGB percent of color #40407e
CMYK percent of color #40407e
Text with hexadecimal color #40407e
This text has a font color of #40407e
<p style="color:#40407e">Text here</p>
#40407e Background Color
This box has a background color of #40407e
<div style="background-color:#40407e">Text here</div>
#40407e Border Color
This box has a border color of #40407e
<div style="border: 4px solid #40407e">Text here</div>
CSS codes
<p style="color:#40407e">Text here</p>
<div style="background-color:#40407e">Text here</div>
<div style="border: 4px solid #40407e">Text here</div>
#40407e Color on white background
This is how a font and box color of #40407e will look
on a white background.
#40407e Color on black background
This is how a font and box color of #40407e hex color will look
on a black background.