In RGB color space, #40388b hex color has a red value of 64, a green value of 56 and a blue value of 139.
In CMYK color space (used in color printing), #40388b hex color is composed of 53.96% cyan, 59.71% magenta, 0% yellow and 45.49% black.
#40388b color has a hue of 245.8 degrees, a saturation of 42.56% and a lightness of 38.2%.
#40388b hex color contains mainly BLUE.
The closest web safe color of #40388b is #333399
#40388b hex color has a decimal value of 4208779.
HEX | 40388b | #40388b |
---|---|---|
RGB | 64, 56, 139 | rgb(64, 56, 139) |
RGB Percent | 25.1, 21.96, 54.51 | rgb(25.1, 21.96, 54.51) |
CMYK | 54, 60, 0, 45 | |
HSL | 245.8°, 42.56, 38.2 | hsl(245.8, 42.56%, 38.2%) |
HSV | 245.8°, 59.7, 54.5 |
XYZ | 8.189, 5.782, 25.111 |
---|---|
Hunter Lab | 24.046, 18.71, -45.084 |
CIE-LAB | 28.856, 27.491, -45.312 |
CIE-LCH | 28.856, 52.999, 301.245 |
CIE-LUV | 53.96, 59.71, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #40388b
CMYK percent of color #40388b
Text with hexadecimal color #40388b
This text has a font color of #40388b
<p style="color:#40388b">Text here</p>
#40388b Background Color
This box has a background color of #40388b
<div style="background-color:#40388b">Text here</div>
#40388b Border Color
This box has a border color of #40388b
<div style="border: 4px solid #40388b">Text here</div>
CSS codes
<p style="color:#40388b">Text here</p>
<div style="background-color:#40388b">Text here</div>
<div style="border: 4px solid #40388b">Text here</div>
#40388b Color on white background
This is how a font and box color of #40388b will look
on a white background.
#40388b Color on black background
This is how a font and box color of #40388b hex color will look
on a black background.