In RGB color space, #0040cf hex color has a red value of 0, a green value of 64 and a blue value of 207.
In CMYK color space (used in color printing), #0040cf hex color is composed of 100% cyan, 69.08% magenta, 0% yellow and 18.82% black.
#0040cf color has a hue of 221.4 degrees, a saturation of 100% and a lightness of 40.6%.
#0040cf hex color contains mainly BLUE.
The closest web safe color of #0040cf is #0033cc
#0040cf hex color has a decimal value of 16591.
HEX | 0040cf | #0040cf |
---|---|---|
RGB | 0, 64, 207 | rgb(0, 64, 207) |
RGB Percent | 0, 25.1, 81.18 | rgb(0, 25.1, 81.18) |
CMYK | 100, 69, 0, 19 | |
HSL | 221.4°, 100, 40.6 | hsl(221.4, 100%, 40.6%) |
HSV | 221.4°, 100, 81.2 |
XYZ | 13.096, 8.172, 59.919 |
---|---|
Hunter Lab | 28.587, 31.747, -104.264 |
CIE-LAB | 34.339, 41.271, -77.104 |
CIE-LCH | 34.339, 87.455, 298.159 |
CIE-LUV | 100, 69.08, 0, 18.82 |
Web Safe | 0033cc |
RGB percent of color #0040cf
CMYK percent of color #0040cf
Text with hexadecimal color #0040cf
This text has a font color of #0040cf
<p style="color:#0040cf">Text here</p>
#0040cf Background Color
This box has a background color of #0040cf
<div style="background-color:#0040cf">Text here</div>
#0040cf Border Color
This box has a border color of #0040cf
<div style="border: 4px solid #0040cf">Text here</div>
CSS codes
<p style="color:#0040cf">Text here</p>
<div style="background-color:#0040cf">Text here</div>
<div style="border: 4px solid #0040cf">Text here</div>
#0040cf Color on white background
This is how a font and box color of #0040cf will look
on a white background.
#0040cf Color on black background
This is how a font and box color of #0040cf hex color will look
on a black background.