In RGB color space, #40397d hex color has a red value of 64, a green value of 57 and a blue value of 125.
In CMYK color space (used in color printing), #40397d hex color is composed of 48.8% cyan, 54.4% magenta, 0% yellow and 50.98% black.
#40397d color has a hue of 246.2 degrees, a saturation of 37.36% and a lightness of 35.7%.
#40397d hex color contains mainly BLUE.
The closest web safe color of #40397d is #333366
#40397d hex color has a decimal value of 4209021.
HEX | 40397d | #40397d |
---|---|---|
RGB | 64, 57, 125 | rgb(64, 57, 125) |
RGB Percent | 25.1, 22.35, 49.02 | rgb(25.1, 22.35, 49.02) |
CMYK | 49, 54, 0, 51 | |
HSL | 246.2°, 37.36, 35.7 | hsl(246.2, 37.36%, 35.7%) |
HSV | 246.2°, 54.4, 49 |
XYZ | 7.279, 5.497, 20.079 |
---|---|
Hunter Lab | 23.446, 14.388, -34.364 |
CIE-LAB | 28.106, 22.218, -37.794 |
CIE-LCH | 28.106, 43.841, 300.45 |
CIE-LUV | 48.8, 54.4, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #40397d
CMYK percent of color #40397d
Text with hexadecimal color #40397d
This text has a font color of #40397d
<p style="color:#40397d">Text here</p>
#40397d Background Color
This box has a background color of #40397d
<div style="background-color:#40397d">Text here</div>
#40397d Border Color
This box has a border color of #40397d
<div style="border: 4px solid #40397d">Text here</div>
CSS codes
<p style="color:#40397d">Text here</p>
<div style="background-color:#40397d">Text here</div>
<div style="border: 4px solid #40397d">Text here</div>
#40397d Color on white background
This is how a font and box color of #40397d will look
on a white background.
#40397d Color on black background
This is how a font and box color of #40397d hex color will look
on a black background.