In RGB color space, #0040a8 hex color has a red value of 0, a green value of 64 and a blue value of 168.
In CMYK color space (used in color printing), #0040a8 hex color is composed of 100% cyan, 61.9% magenta, 0% yellow and 34.12% black.
#0040a8 color has a hue of 217.1 degrees, a saturation of 100% and a lightness of 32.9%.
#0040a8 hex color contains mainly BLUE.
The closest web safe color of #0040a8 is #003399
#0040a8 hex color has a decimal value of 16552.
HEX | 0040a8 | #0040a8 |
---|---|---|
RGB | 0, 64, 168 | rgb(0, 64, 168) |
RGB Percent | 0, 25.1, 65.88 | rgb(0, 25.1, 65.88) |
CMYK | 100, 62, 0, 34 | |
HSL | 217.1°, 100, 32.9 | hsl(217.1, 100%, 32.9%) |
HSV | 217.1°, 100, 65.9 |
XYZ | 8.901, 6.494, 37.83 |
---|---|
Hunter Lab | 25.483, 17.752, -70.178 |
CIE-LAB | 30.626, 26.084, -60.211 |
CIE-LCH | 30.626, 65.618, 293.423 |
CIE-LUV | 100, 61.9, 0, 34.12 |
Web Safe | 003399 |
RGB percent of color #0040a8
CMYK percent of color #0040a8
Text with hexadecimal color #0040a8
This text has a font color of #0040a8
<p style="color:#0040a8">Text here</p>
#0040a8 Background Color
This box has a background color of #0040a8
<div style="background-color:#0040a8">Text here</div>
#0040a8 Border Color
This box has a border color of #0040a8
<div style="border: 4px solid #0040a8">Text here</div>
CSS codes
<p style="color:#0040a8">Text here</p>
<div style="background-color:#0040a8">Text here</div>
<div style="border: 4px solid #0040a8">Text here</div>
#0040a8 Color on white background
This is how a font and box color of #0040a8 will look
on a white background.
#0040a8 Color on black background
This is how a font and box color of #0040a8 hex color will look
on a black background.