In RGB color space, #40304f hex color has a red value of 64, a green value of 48 and a blue value of 79.
In CMYK color space (used in color printing), #40304f hex color is composed of 18.99% cyan, 39.24% magenta, 0% yellow and 69.02% black.
#40304f color has a hue of 271 degrees, a saturation of 24.41% and a lightness of 24.9%.
#40304f hex color contains mainly BLUE.
The closest web safe color of #40304f is #333366
#40304f hex color has a decimal value of 4206671.
HEX | 40304f | #40304f |
---|---|---|
RGB | 64, 48, 79 | rgb(64, 48, 79) |
RGB Percent | 25.1, 18.82, 30.98 | rgb(25.1, 18.82, 30.98) |
CMYK | 19, 39, 0, 69 | |
HSL | 271°, 24.41, 24.9 | hsl(271, 24.41%, 24.9%) |
HSV | 271°, 39.2, 31 |
XYZ | 4.583, 3.768, 7.883 |
---|---|
Hunter Lab | 19.411, 8.174, -10.49 |
CIE-LAB | 22.889, 14.361, -16.306 |
CIE-LCH | 22.889, 21.728, 311.371 |
CIE-LUV | 18.99, 39.24, 0, 69.02 |
Web Safe | 333366 |
RGB percent of color #40304f
CMYK percent of color #40304f
Text with hexadecimal color #40304f
This text has a font color of #40304f
<p style="color:#40304f">Text here</p>
#40304f Background Color
This box has a background color of #40304f
<div style="background-color:#40304f">Text here</div>
#40304f Border Color
This box has a border color of #40304f
<div style="border: 4px solid #40304f">Text here</div>
CSS codes
<p style="color:#40304f">Text here</p>
<div style="background-color:#40304f">Text here</div>
<div style="border: 4px solid #40304f">Text here</div>
#40304f Color on white background
This is how a font and box color of #40304f will look
on a white background.
#40304f Color on black background
This is how a font and box color of #40304f hex color will look
on a black background.