In RGB color space, #0040a1 hex color has a red value of 0, a green value of 64 and a blue value of 161.
In CMYK color space (used in color printing), #0040a1 hex color is composed of 100% cyan, 60.25% magenta, 0% yellow and 36.86% black.
#0040a1 color has a hue of 216.1 degrees, a saturation of 100% and a lightness of 31.6%.
#0040a1 hex color contains mainly BLUE.
The closest web safe color of #0040a1 is #003399
#0040a1 hex color has a decimal value of 16545.
HEX | 0040a1 | #0040a1 |
---|---|---|
RGB | 0, 64, 161 | rgb(0, 64, 161) |
RGB Percent | 0, 25.1, 63.14 | rgb(0, 25.1, 63.14) |
CMYK | 100, 60, 0, 37 | |
HSL | 216.1°, 100, 31.6 | hsl(216.1, 100%, 31.6%) |
HSV | 216.1°, 100, 63.1 |
XYZ | 8.266, 6.24, 34.487 |
---|---|
Hunter Lab | 24.98, 15.352, -64.369 |
CIE-LAB | 30.01, 23.206, -57.003 |
CIE-LCH | 30.01, 61.546, 292.151 |
CIE-LUV | 100, 60.25, 0, 36.86 |
Web Safe | 003399 |
RGB percent of color #0040a1
CMYK percent of color #0040a1
Text with hexadecimal color #0040a1
This text has a font color of #0040a1
<p style="color:#0040a1">Text here</p>
#0040a1 Background Color
This box has a background color of #0040a1
<div style="background-color:#0040a1">Text here</div>
#0040a1 Border Color
This box has a border color of #0040a1
<div style="border: 4px solid #0040a1">Text here</div>
CSS codes
<p style="color:#0040a1">Text here</p>
<div style="background-color:#0040a1">Text here</div>
<div style="border: 4px solid #0040a1">Text here</div>
#0040a1 Color on white background
This is how a font and box color of #0040a1 will look
on a white background.
#0040a1 Color on black background
This is how a font and box color of #0040a1 hex color will look
on a black background.