In RGB color space, #0040b5 hex color has a red value of 0, a green value of 64 and a blue value of 181.
In CMYK color space (used in color printing), #0040b5 hex color is composed of 100% cyan, 64.64% magenta, 0% yellow and 29.02% black.
#0040b5 color has a hue of 218.8 degrees, a saturation of 100% and a lightness of 35.5%.
#0040b5 hex color contains mainly BLUE.
The closest web safe color of #0040b5 is #0033cc
#0040b5 hex color has a decimal value of 16565.
HEX | 0040b5 | #0040b5 |
---|---|---|
RGB | 0, 64, 181 | rgb(0, 64, 181) |
RGB Percent | 0, 25.1, 70.98 | rgb(0, 25.1, 70.98) |
CMYK | 100, 65, 0, 29 | |
HSL | 218.8°, 100, 35.5 | hsl(218.8, 100%, 35.5%) |
HSV | 218.8°, 100, 71 |
XYZ | 10.174, 7.003, 44.532 |
---|---|
Hunter Lab | 26.463, 22.315, -81.248 |
CIE-LAB | 31.814, 31.31, -66.02 |
CIE-LCH | 31.814, 73.068, 295.373 |
CIE-LUV | 100, 64.64, 0, 29.02 |
Web Safe | 0033cc |
RGB percent of color #0040b5
CMYK percent of color #0040b5
Text with hexadecimal color #0040b5
This text has a font color of #0040b5
<p style="color:#0040b5">Text here</p>
#0040b5 Background Color
This box has a background color of #0040b5
<div style="background-color:#0040b5">Text here</div>
#0040b5 Border Color
This box has a border color of #0040b5
<div style="border: 4px solid #0040b5">Text here</div>
CSS codes
<p style="color:#0040b5">Text here</p>
<div style="background-color:#0040b5">Text here</div>
<div style="border: 4px solid #0040b5">Text here</div>
#0040b5 Color on white background
This is how a font and box color of #0040b5 will look
on a white background.
#0040b5 Color on black background
This is how a font and box color of #0040b5 hex color will look
on a black background.