In RGB color space, #0040cd hex color has a red value of 0, a green value of 64 and a blue value of 205.
In CMYK color space (used in color printing), #0040cd hex color is composed of 100% cyan, 68.78% magenta, 0% yellow and 19.61% black.
#0040cd color has a hue of 221.3 degrees, a saturation of 100% and a lightness of 40.2%.
#0040cd hex color contains mainly BLUE.
The closest web safe color of #0040cd is #0033cc
#0040cd hex color has a decimal value of 16589.
HEX | 0040cd | #0040cd |
---|---|---|
RGB | 0, 64, 205 | rgb(0, 64, 205) |
RGB Percent | 0, 25.1, 80.39 | rgb(0, 25.1, 80.39) |
CMYK | 100, 69, 0, 20 | |
HSL | 221.3°, 100, 40.2 | hsl(221.3, 100%, 40.2%) |
HSV | 221.3°, 100, 80.4 |
XYZ | 12.853, 8.075, 58.639 |
---|---|
Hunter Lab | 28.417, 31.008, -102.456 |
CIE-LAB | 34.139, 40.526, -76.273 |
CIE-LCH | 34.139, 86.371, 297.983 |
CIE-LUV | 100, 68.78, 0, 19.61 |
Web Safe | 0033cc |
RGB percent of color #0040cd
CMYK percent of color #0040cd
Text with hexadecimal color #0040cd
This text has a font color of #0040cd
<p style="color:#0040cd">Text here</p>
#0040cd Background Color
This box has a background color of #0040cd
<div style="background-color:#0040cd">Text here</div>
#0040cd Border Color
This box has a border color of #0040cd
<div style="border: 4px solid #0040cd">Text here</div>
CSS codes
<p style="color:#0040cd">Text here</p>
<div style="background-color:#0040cd">Text here</div>
<div style="border: 4px solid #0040cd">Text here</div>
#0040cd Color on white background
This is how a font and box color of #0040cd will look
on a white background.
#0040cd Color on black background
This is how a font and box color of #0040cd hex color will look
on a black background.