In RGB color space, #40408f hex color has a red value of 64, a green value of 64 and a blue value of 143.
In CMYK color space (used in color printing), #40408f hex color is composed of 55.24% cyan, 55.24% magenta, 0% yellow and 43.92% black.
#40408f color has a hue of 240 degrees, a saturation of 38.16% and a lightness of 40.6%.
#40408f hex color contains mainly BLUE.
The closest web safe color of #40408f is #333399
#40408f hex color has a decimal value of 4210831.
HEX | 40408f | #40408f |
---|---|---|
RGB | 64, 64, 143 | rgb(64, 64, 143) |
RGB Percent | 25.1, 25.1, 56.08 | rgb(25.1, 25.1, 56.08) |
CMYK | 55, 55, 0, 44 | |
HSL | 240°, 38.16, 40.6 | hsl(240, 38.16%, 40.6%) |
HSV | 240°, 55.2, 56.1 |
XYZ | 8.906, 6.74, 26.818 |
---|---|
Hunter Lab | 25.962, 15.801, -43.073 |
CIE-LAB | 31.208, 23.62, -43.975 |
CIE-LCH | 31.208, 49.917, 298.241 |
CIE-LUV | 55.24, 55.24, 0, 43.92 |
Web Safe | 333399 |
RGB percent of color #40408f
CMYK percent of color #40408f
Text with hexadecimal color #40408f
This text has a font color of #40408f
<p style="color:#40408f">Text here</p>
#40408f Background Color
This box has a background color of #40408f
<div style="background-color:#40408f">Text here</div>
#40408f Border Color
This box has a border color of #40408f
<div style="border: 4px solid #40408f">Text here</div>
CSS codes
<p style="color:#40408f">Text here</p>
<div style="background-color:#40408f">Text here</div>
<div style="border: 4px solid #40408f">Text here</div>
#40408f Color on white background
This is how a font and box color of #40408f will look
on a white background.
#40408f Color on black background
This is how a font and box color of #40408f hex color will look
on a black background.