In RGB color space, #40187e hex color has a red value of 64, a green value of 24 and a blue value of 126.
In CMYK color space (used in color printing), #40187e hex color is composed of 49.21% cyan, 80.95% magenta, 0% yellow and 50.59% black.
#40187e color has a hue of 263.5 degrees, a saturation of 68% and a lightness of 29.4%.
#40187e hex color contains mainly BLUE.
The closest web safe color of #40187e is #330066
#40187e hex color has a decimal value of 4200574.
HEX | 40187e | #40187e |
---|---|---|
RGB | 64, 24, 126 | rgb(64, 24, 126) |
RGB Percent | 25.1, 9.41, 49.41 | rgb(25.1, 9.41, 49.41) |
CMYK | 49, 81, 0, 51 | |
HSL | 263.5°, 68, 29.4 | hsl(263.5, 68%, 29.4%) |
HSV | 263.5°, 81, 49.4 |
XYZ | 6.207, 3.25, 20.039 |
---|---|
Hunter Lab | 18.028, 29.909, -53.285 |
CIE-LAB | 21.019, 41.787, -49.938 |
CIE-LCH | 21.019, 65.115, 309.922 |
CIE-LUV | 49.21, 80.95, 0, 50.59 |
Web Safe | 330066 |
RGB percent of color #40187e
CMYK percent of color #40187e
Text with hexadecimal color #40187e
This text has a font color of #40187e
<p style="color:#40187e">Text here</p>
#40187e Background Color
This box has a background color of #40187e
<div style="background-color:#40187e">Text here</div>
#40187e Border Color
This box has a border color of #40187e
<div style="border: 4px solid #40187e">Text here</div>
CSS codes
<p style="color:#40187e">Text here</p>
<div style="background-color:#40187e">Text here</div>
<div style="border: 4px solid #40187e">Text here</div>
#40187e Color on white background
This is how a font and box color of #40187e will look
on a white background.
#40187e Color on black background
This is how a font and box color of #40187e hex color will look
on a black background.