In RGB color space, #40398a hex color has a red value of 64, a green value of 57 and a blue value of 138.
In CMYK color space (used in color printing), #40398a hex color is composed of 53.62% cyan, 58.7% magenta, 0% yellow and 45.88% black.
#40398a color has a hue of 245.2 degrees, a saturation of 41.54% and a lightness of 38.2%.
#40398a hex color contains mainly BLUE.
The closest web safe color of #40398a is #333399
#40398a hex color has a decimal value of 4209034.
HEX | 40398a | #40398a |
---|---|---|
RGB | 64, 57, 138 | rgb(64, 57, 138) |
RGB Percent | 25.1, 22.35, 54.12 | rgb(25.1, 22.35, 54.12) |
CMYK | 54, 59, 0, 46 | |
HSL | 245.2°, 41.54, 38.2 | hsl(245.2, 41.54%, 38.2%) |
HSV | 245.2°, 58.7, 54.1 |
XYZ | 8.165, 5.851, 24.744 |
---|---|
Hunter Lab | 24.189, 17.923, -43.719 |
CIE-LAB | 29.033, 26.509, -44.405 |
CIE-LCH | 29.033, 51.716, 300.836 |
CIE-LUV | 53.62, 58.7, 0, 45.88 |
Web Safe | 333399 |
RGB percent of color #40398a
CMYK percent of color #40398a
Text with hexadecimal color #40398a
This text has a font color of #40398a
<p style="color:#40398a">Text here</p>
#40398a Background Color
This box has a background color of #40398a
<div style="background-color:#40398a">Text here</div>
#40398a Border Color
This box has a border color of #40398a
<div style="border: 4px solid #40398a">Text here</div>
CSS codes
<p style="color:#40398a">Text here</p>
<div style="background-color:#40398a">Text here</div>
<div style="border: 4px solid #40398a">Text here</div>
#40398a Color on white background
This is how a font and box color of #40398a will look
on a white background.
#40398a Color on black background
This is how a font and box color of #40398a hex color will look
on a black background.