In RGB color space, #0040b6 hex color has a red value of 0, a green value of 64 and a blue value of 182.
In CMYK color space (used in color printing), #0040b6 hex color is composed of 100% cyan, 64.84% magenta, 0% yellow and 28.63% black.
#0040b6 color has a hue of 218.9 degrees, a saturation of 100% and a lightness of 35.7%.
#0040b6 hex color contains mainly BLUE.
The closest web safe color of #0040b6 is #0033cc
#0040b6 hex color has a decimal value of 16566.
HEX | 0040b6 | #0040b6 |
---|---|---|
RGB | 0, 64, 182 | rgb(0, 64, 182) |
RGB Percent | 0, 25.1, 71.37 | rgb(0, 25.1, 71.37) |
CMYK | 100, 65, 0, 29 | |
HSL | 218.9°, 100, 35.7 | hsl(218.9, 100%, 35.7%) |
HSV | 218.9°, 100, 71.4 |
XYZ | 10.277, 7.044, 45.074 |
---|---|
Hunter Lab | 26.541, 22.673, -82.114 |
CIE-LAB | 31.907, 31.707, -66.459 |
CIE-LCH | 31.907, 73.635, 295.505 |
CIE-LUV | 100, 64.84, 0, 28.63 |
Web Safe | 0033cc |
RGB percent of color #0040b6
CMYK percent of color #0040b6
Text with hexadecimal color #0040b6
This text has a font color of #0040b6
<p style="color:#0040b6">Text here</p>
#0040b6 Background Color
This box has a background color of #0040b6
<div style="background-color:#0040b6">Text here</div>
#0040b6 Border Color
This box has a border color of #0040b6
<div style="border: 4px solid #0040b6">Text here</div>
CSS codes
<p style="color:#0040b6">Text here</p>
<div style="background-color:#0040b6">Text here</div>
<div style="border: 4px solid #0040b6">Text here</div>
#0040b6 Color on white background
This is how a font and box color of #0040b6 will look
on a white background.
#0040b6 Color on black background
This is how a font and box color of #0040b6 hex color will look
on a black background.