In RGB color space, #40407d hex color has a red value of 64, a green value of 64 and a blue value of 125.
In CMYK color space (used in color printing), #40407d hex color is composed of 48.8% cyan, 48.8% magenta, 0% yellow and 50.98% black.
#40407d color has a hue of 240 degrees, a saturation of 32.28% and a lightness of 37.1%.
#40407d hex color contains mainly BLUE.
The closest web safe color of #40407d is #333366
#40407d hex color has a decimal value of 4210813.
HEX | 40407d | #40407d |
---|---|---|
RGB | 64, 64, 125 | rgb(64, 64, 125) |
RGB Percent | 25.1, 25.1, 49.02 | rgb(25.1, 25.1, 49.02) |
CMYK | 49, 49, 0, 51 | |
HSL | 240°, 32.28, 37.1 | hsl(240, 32.28%, 37.1%) |
HSV | 240°, 48.8, 49 |
XYZ | 7.649, 6.237, 20.203 |
---|---|
Hunter Lab | 24.974, 10.966, -30.482 |
CIE-LAB | 30.003, 17.582, -34.758 |
CIE-LCH | 30.003, 38.952, 296.832 |
CIE-LUV | 48.8, 48.8, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #40407d
CMYK percent of color #40407d
Text with hexadecimal color #40407d
This text has a font color of #40407d
<p style="color:#40407d">Text here</p>
#40407d Background Color
This box has a background color of #40407d
<div style="background-color:#40407d">Text here</div>
#40407d Border Color
This box has a border color of #40407d
<div style="border: 4px solid #40407d">Text here</div>
CSS codes
<p style="color:#40407d">Text here</p>
<div style="background-color:#40407d">Text here</div>
<div style="border: 4px solid #40407d">Text here</div>
#40407d Color on white background
This is how a font and box color of #40407d will look
on a white background.
#40407d Color on black background
This is how a font and box color of #40407d hex color will look
on a black background.