In RGB color space, #40338d hex color has a red value of 64, a green value of 51 and a blue value of 141.
In CMYK color space (used in color printing), #40338d hex color is composed of 54.61% cyan, 63.83% magenta, 0% yellow and 44.71% black.
#40338d color has a hue of 248.7 degrees, a saturation of 46.88% and a lightness of 37.6%.
#40338d hex color contains mainly BLUE.
The closest web safe color of #40338d is #333399
#40338d hex color has a decimal value of 4207501.
HEX | 40338d | #40338d |
---|---|---|
RGB | 64, 51, 141 | rgb(64, 51, 141) |
RGB Percent | 25.1, 20, 55.29 | rgb(25.1, 20, 55.29) |
CMYK | 55, 64, 0, 45 | |
HSL | 248.7°, 46.88, 37.6 | hsl(248.7, 46.88%, 37.6%) |
HSV | 248.7°, 63.8, 55.3 |
XYZ | 8.106, 5.381, 25.811 |
---|---|
Hunter Lab | 23.197, 21.781, -49.733 |
CIE-LAB | 27.794, 31.32, -48.272 |
CIE-LCH | 27.794, 57.542, 302.976 |
CIE-LUV | 54.61, 63.83, 0, 44.71 |
Web Safe | 333399 |
RGB percent of color #40338d
CMYK percent of color #40338d
Text with hexadecimal color #40338d
This text has a font color of #40338d
<p style="color:#40338d">Text here</p>
#40338d Background Color
This box has a background color of #40338d
<div style="background-color:#40338d">Text here</div>
#40338d Border Color
This box has a border color of #40338d
<div style="border: 4px solid #40338d">Text here</div>
CSS codes
<p style="color:#40338d">Text here</p>
<div style="background-color:#40338d">Text here</div>
<div style="border: 4px solid #40338d">Text here</div>
#40338d Color on white background
This is how a font and box color of #40338d will look
on a white background.
#40338d Color on black background
This is how a font and box color of #40338d hex color will look
on a black background.