In RGB color space, #40407f hex color has a red value of 64, a green value of 64 and a blue value of 127.
In CMYK color space (used in color printing), #40407f hex color is composed of 49.61% cyan, 49.61% magenta, 0% yellow and 50.2% black.
#40407f color has a hue of 240 degrees, a saturation of 32.98% and a lightness of 37.5%.
#40407f hex color contains mainly BLUE.
The closest web safe color of #40407f is #333366
#40407f hex color has a decimal value of 4210815.
HEX | 40407f | #40407f |
---|---|---|
RGB | 64, 64, 127 | rgb(64, 64, 127) |
RGB Percent | 25.1, 25.1, 49.8 | rgb(25.1, 25.1, 49.8) |
CMYK | 50, 50, 0, 50 | |
HSL | 240°, 32.98, 37.5 | hsl(240, 32.98%, 37.5%) |
HSV | 240°, 49.6, 49.8 |
XYZ | 7.779, 6.289, 20.883 |
---|---|
Hunter Lab | 25.078, 11.483, -31.818 |
CIE-LAB | 30.13, 18.249, -35.804 |
CIE-LCH | 30.13, 40.186, 297.008 |
CIE-LUV | 49.61, 49.61, 0, 50.2 |
Web Safe | 333366 |
RGB percent of color #40407f
CMYK percent of color #40407f
Text with hexadecimal color #40407f
This text has a font color of #40407f
<p style="color:#40407f">Text here</p>
#40407f Background Color
This box has a background color of #40407f
<div style="background-color:#40407f">Text here</div>
#40407f Border Color
This box has a border color of #40407f
<div style="border: 4px solid #40407f">Text here</div>
CSS codes
<p style="color:#40407f">Text here</p>
<div style="background-color:#40407f">Text here</div>
<div style="border: 4px solid #40407f">Text here</div>
#40407f Color on white background
This is how a font and box color of #40407f will look
on a white background.
#40407f Color on black background
This is how a font and box color of #40407f hex color will look
on a black background.