In RGB color space, #40398b hex color has a red value of 64, a green value of 57 and a blue value of 139.
In CMYK color space (used in color printing), #40398b hex color is composed of 53.96% cyan, 58.99% magenta, 0% yellow and 45.49% black.
#40398b color has a hue of 245.1 degrees, a saturation of 41.84% and a lightness of 38.4%.
#40398b hex color contains mainly BLUE.
The closest web safe color of #40398b is #333399
#40398b hex color has a decimal value of 4209035.
HEX | 40398b | #40398b |
---|---|---|
RGB | 64, 57, 139 | rgb(64, 57, 139) |
RGB Percent | 25.1, 22.35, 54.51 | rgb(25.1, 22.35, 54.51) |
CMYK | 54, 59, 0, 45 | |
HSL | 245.1°, 41.84, 38.4 | hsl(245.1, 41.84%, 38.4%) |
HSV | 245.1°, 59, 54.5 |
XYZ | 8.238, 5.88, 25.127 |
---|---|
Hunter Lab | 24.249, 18.206, -44.463 |
CIE-LAB | 29.108, 26.845, -44.903 |
CIE-LCH | 29.108, 52.316, 300.873 |
CIE-LUV | 53.96, 58.99, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #40398b
CMYK percent of color #40398b
Text with hexadecimal color #40398b
This text has a font color of #40398b
<p style="color:#40398b">Text here</p>
#40398b Background Color
This box has a background color of #40398b
<div style="background-color:#40398b">Text here</div>
#40398b Border Color
This box has a border color of #40398b
<div style="border: 4px solid #40398b">Text here</div>
CSS codes
<p style="color:#40398b">Text here</p>
<div style="background-color:#40398b">Text here</div>
<div style="border: 4px solid #40398b">Text here</div>
#40398b Color on white background
This is how a font and box color of #40398b will look
on a white background.
#40398b Color on black background
This is how a font and box color of #40398b hex color will look
on a black background.