In RGB color space, #40337f hex color has a red value of 64, a green value of 51 and a blue value of 127.
In CMYK color space (used in color printing), #40337f hex color is composed of 49.61% cyan, 59.84% magenta, 0% yellow and 50.2% black.
#40337f color has a hue of 250.3 degrees, a saturation of 42.7% and a lightness of 34.9%.
#40337f hex color contains mainly BLUE.
The closest web safe color of #40337f is #333366
#40337f hex color has a decimal value of 4207487.
HEX | 40337f | #40337f |
---|---|---|
RGB | 64, 51, 127 | rgb(64, 51, 127) |
RGB Percent | 25.1, 20, 49.8 | rgb(25.1, 20, 49.8) |
CMYK | 50, 60, 0, 50 | |
HSL | 250.3°, 42.7, 34.9 | hsl(250.3, 42.7%, 34.9%) |
HSV | 250.3°, 59.8, 49.8 |
XYZ | 7.129, 4.99, 20.666 |
---|---|
Hunter Lab | 22.338, 17.874, -39.215 |
CIE-LAB | 26.706, 26.784, -41.306 |
CIE-LCH | 26.706, 49.23, 302.961 |
CIE-LUV | 49.61, 59.84, 0, 50.2 |
Web Safe | 333366 |
RGB percent of color #40337f
CMYK percent of color #40337f
Text with hexadecimal color #40337f
This text has a font color of #40337f
<p style="color:#40337f">Text here</p>
#40337f Background Color
This box has a background color of #40337f
<div style="background-color:#40337f">Text here</div>
#40337f Border Color
This box has a border color of #40337f
<div style="border: 4px solid #40337f">Text here</div>
CSS codes
<p style="color:#40337f">Text here</p>
<div style="background-color:#40337f">Text here</div>
<div style="border: 4px solid #40337f">Text here</div>
#40337f Color on white background
This is how a font and box color of #40337f will look
on a white background.
#40337f Color on black background
This is how a font and box color of #40337f hex color will look
on a black background.