In RGB color space, #0040c8 hex color has a red value of 0, a green value of 64 and a blue value of 200.
In CMYK color space (used in color printing), #0040c8 hex color is composed of 100% cyan, 68% magenta, 0% yellow and 21.57% black.
#0040c8 color has a hue of 220.8 degrees, a saturation of 100% and a lightness of 39.2%.
#0040c8 hex color contains mainly BLUE.
The closest web safe color of #0040c8 is #0033cc
#0040c8 hex color has a decimal value of 16584.
HEX | 0040c8 | #0040c8 |
---|---|---|
RGB | 0, 64, 200 | rgb(0, 64, 200) |
RGB Percent | 0, 25.1, 78.43 | rgb(0, 25.1, 78.43) |
CMYK | 100, 68, 0, 22 | |
HSL | 220.8°, 100, 39.2 | hsl(220.8, 100%, 39.2%) |
HSV | 220.8°, 100, 78.4 |
XYZ | 12.259, 7.837, 55.51 |
---|---|
Hunter Lab | 27.995, 29.175, -97.969 |
CIE-LAB | 33.641, 38.654, -74.184 |
CIE-LCH | 33.641, 83.65, 297.522 |
CIE-LUV | 100, 68, 0, 21.57 |
Web Safe | 0033cc |
RGB percent of color #0040c8
CMYK percent of color #0040c8
Text with hexadecimal color #0040c8
This text has a font color of #0040c8
<p style="color:#0040c8">Text here</p>
#0040c8 Background Color
This box has a background color of #0040c8
<div style="background-color:#0040c8">Text here</div>
#0040c8 Border Color
This box has a border color of #0040c8
<div style="border: 4px solid #0040c8">Text here</div>
CSS codes
<p style="color:#0040c8">Text here</p>
<div style="background-color:#0040c8">Text here</div>
<div style="border: 4px solid #0040c8">Text here</div>
#0040c8 Color on white background
This is how a font and box color of #0040c8 will look
on a white background.
#0040c8 Color on black background
This is how a font and box color of #0040c8 hex color will look
on a black background.