In RGB color space, #40397c hex color has a red value of 64, a green value of 57 and a blue value of 124.
In CMYK color space (used in color printing), #40397c hex color is composed of 48.39% cyan, 54.03% magenta, 0% yellow and 51.37% black.
#40397c color has a hue of 246.3 degrees, a saturation of 37.02% and a lightness of 35.5%.
#40397c hex color contains mainly BLUE.
The closest web safe color of #40397c is #333366
#40397c hex color has a decimal value of 4209020.
HEX | 40397c | #40397c |
---|---|---|
RGB | 64, 57, 124 | rgb(64, 57, 124) |
RGB Percent | 25.1, 22.35, 48.63 | rgb(25.1, 22.35, 48.63) |
CMYK | 48, 54, 0, 51 | |
HSL | 246.3°, 37.02, 35.5 | hsl(246.3, 37.02%, 35.5%) |
HSV | 246.3°, 54, 48.6 |
XYZ | 7.216, 5.471, 19.745 |
---|---|
Hunter Lab | 23.39, 14.135, -33.677 |
CIE-LAB | 28.037, 21.904, -37.279 |
CIE-LCH | 28.037, 43.238, 300.437 |
CIE-LUV | 48.39, 54.03, 0, 51.37 |
Web Safe | 333366 |
RGB percent of color #40397c
CMYK percent of color #40397c
Text with hexadecimal color #40397c
This text has a font color of #40397c
<p style="color:#40397c">Text here</p>
#40397c Background Color
This box has a background color of #40397c
<div style="background-color:#40397c">Text here</div>
#40397c Border Color
This box has a border color of #40397c
<div style="border: 4px solid #40397c">Text here</div>
CSS codes
<p style="color:#40397c">Text here</p>
<div style="background-color:#40397c">Text here</div>
<div style="border: 4px solid #40397c">Text here</div>
#40397c Color on white background
This is how a font and box color of #40397c will look
on a white background.
#40397c Color on black background
This is how a font and box color of #40397c hex color will look
on a black background.