In RGB color space, #0040d8 hex color has a red value of 0, a green value of 64 and a blue value of 216.
In CMYK color space (used in color printing), #0040d8 hex color is composed of 100% cyan, 70.37% magenta, 0% yellow and 15.29% black.
#0040d8 color has a hue of 222.2 degrees, a saturation of 100% and a lightness of 42.4%.
#0040d8 hex color contains mainly BLUE.
The closest web safe color of #0040d8 is #0033cc
#0040d8 hex color has a decimal value of 16600.
HEX | 0040d8 | #0040d8 |
---|---|---|
RGB | 0, 64, 216 | rgb(0, 64, 216) |
RGB Percent | 0, 25.1, 84.71 | rgb(0, 25.1, 84.71) |
CMYK | 100, 70, 0, 15 | |
HSL | 222.2°, 100, 42.4 | hsl(222.2, 100%, 42.4%) |
HSV | 222.2°, 100, 84.7 |
XYZ | 14.228, 8.625, 65.881 |
---|---|
Hunter Lab | 29.368, 35.083, -112.445 |
CIE-LAB | 35.252, 44.57, -80.794 |
CIE-LCH | 35.252, 92.272, 298.883 |
CIE-LUV | 100, 70.37, 0, 15.29 |
Web Safe | 0033cc |
RGB percent of color #0040d8
CMYK percent of color #0040d8
Text with hexadecimal color #0040d8
This text has a font color of #0040d8
<p style="color:#0040d8">Text here</p>
#0040d8 Background Color
This box has a background color of #0040d8
<div style="background-color:#0040d8">Text here</div>
#0040d8 Border Color
This box has a border color of #0040d8
<div style="border: 4px solid #0040d8">Text here</div>
CSS codes
<p style="color:#0040d8">Text here</p>
<div style="background-color:#0040d8">Text here</div>
<div style="border: 4px solid #0040d8">Text here</div>
#0040d8 Color on white background
This is how a font and box color of #0040d8 will look
on a white background.
#0040d8 Color on black background
This is how a font and box color of #0040d8 hex color will look
on a black background.