In RGB color space, #0040d9 hex color has a red value of 0, a green value of 64 and a blue value of 217.
In CMYK color space (used in color printing), #0040d9 hex color is composed of 100% cyan, 70.51% magenta, 0% yellow and 14.9% black.
#0040d9 color has a hue of 222.3 degrees, a saturation of 100% and a lightness of 42.5%.
#0040d9 hex color contains mainly BLUE.
The closest web safe color of #0040d9 is #0033cc
#0040d9 hex color has a decimal value of 16601.
HEX | 0040d9 | #0040d9 |
---|---|---|
RGB | 0, 64, 217 | rgb(0, 64, 217) |
RGB Percent | 0, 25.1, 85.1 | rgb(0, 25.1, 85.1) |
CMYK | 100, 71, 0, 15 | |
HSL | 222.3°, 100, 42.5 | hsl(222.3, 100%, 42.5%) |
HSV | 222.3°, 100, 85.1 |
XYZ | 14.358, 8.677, 66.564 |
---|---|
Hunter Lab | 29.457, 35.456, -113.359 |
CIE-LAB | 35.355, 44.933, -81.199 |
CIE-LCH | 35.355, 92.802, 298.959 |
CIE-LUV | 100, 70.51, 0, 14.9 |
Web Safe | 0033cc |
RGB percent of color #0040d9
CMYK percent of color #0040d9
Text with hexadecimal color #0040d9
This text has a font color of #0040d9
<p style="color:#0040d9">Text here</p>
#0040d9 Background Color
This box has a background color of #0040d9
<div style="background-color:#0040d9">Text here</div>
#0040d9 Border Color
This box has a border color of #0040d9
<div style="border: 4px solid #0040d9">Text here</div>
CSS codes
<p style="color:#0040d9">Text here</p>
<div style="background-color:#0040d9">Text here</div>
<div style="border: 4px solid #0040d9">Text here</div>
#0040d9 Color on white background
This is how a font and box color of #0040d9 will look
on a white background.
#0040d9 Color on black background
This is how a font and box color of #0040d9 hex color will look
on a black background.