In RGB color space, #40388c hex color has a red value of 64, a green value of 56 and a blue value of 140.
In CMYK color space (used in color printing), #40388c hex color is composed of 54.29% cyan, 60% magenta, 0% yellow and 45.1% black.
#40388c color has a hue of 245.7 degrees, a saturation of 42.86% and a lightness of 38.4%.
#40388c hex color contains mainly BLUE.
The closest web safe color of #40388c is #333399
#40388c hex color has a decimal value of 4208780.
HEX | 40388c | #40388c |
---|---|---|
RGB | 64, 56, 140 | rgb(64, 56, 140) |
RGB Percent | 25.1, 21.96, 54.9 | rgb(25.1, 21.96, 54.9) |
CMYK | 54, 60, 0, 45 | |
HSL | 245.7°, 42.86, 38.4 | hsl(245.7, 42.86%, 38.4%) |
HSV | 245.7°, 60, 54.9 |
XYZ | 8.262, 5.812, 25.497 |
---|---|
Hunter Lab | 24.108, 18.984, -45.83 |
CIE-LAB | 28.933, 27.812, -45.804 |
CIE-LCH | 28.933, 53.587, 301.266 |
CIE-LUV | 54.29, 60, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #40388c
CMYK percent of color #40388c
Text with hexadecimal color #40388c
This text has a font color of #40388c
<p style="color:#40388c">Text here</p>
#40388c Background Color
This box has a background color of #40388c
<div style="background-color:#40388c">Text here</div>
#40388c Border Color
This box has a border color of #40388c
<div style="border: 4px solid #40388c">Text here</div>
CSS codes
<p style="color:#40388c">Text here</p>
<div style="background-color:#40388c">Text here</div>
<div style="border: 4px solid #40388c">Text here</div>
#40388c Color on white background
This is how a font and box color of #40388c will look
on a white background.
#40388c Color on black background
This is how a font and box color of #40388c hex color will look
on a black background.