In RGB color space, #0040ac hex color has a red value of 0, a green value of 64 and a blue value of 172.
In CMYK color space (used in color printing), #0040ac hex color is composed of 100% cyan, 62.79% magenta, 0% yellow and 32.55% black.
#0040ac color has a hue of 217.7 degrees, a saturation of 100% and a lightness of 33.7%.
#0040ac hex color contains mainly BLUE.
The closest web safe color of #0040ac is #003399
#0040ac hex color has a decimal value of 16556.
HEX | 0040ac | #0040ac |
---|---|---|
RGB | 0, 64, 172 | rgb(0, 64, 172) |
RGB Percent | 0, 25.1, 67.45 | rgb(0, 25.1, 67.45) |
CMYK | 100, 63, 0, 33 | |
HSL | 217.7°, 100, 33.7 | hsl(217.7, 100%, 33.7%) |
HSV | 217.7°, 100, 67.5 |
XYZ | 9.28, 6.645, 39.823 |
---|---|
Hunter Lab | 25.778, 19.148, -73.55 |
CIE-LAB | 30.985, 27.716, -62.02 |
CIE-LCH | 30.985, 67.931, 294.079 |
CIE-LUV | 100, 62.79, 0, 32.55 |
Web Safe | 003399 |
RGB percent of color #0040ac
CMYK percent of color #0040ac
Text with hexadecimal color #0040ac
This text has a font color of #0040ac
<p style="color:#0040ac">Text here</p>
#0040ac Background Color
This box has a background color of #0040ac
<div style="background-color:#0040ac">Text here</div>
#0040ac Border Color
This box has a border color of #0040ac
<div style="border: 4px solid #0040ac">Text here</div>
CSS codes
<p style="color:#0040ac">Text here</p>
<div style="background-color:#0040ac">Text here</div>
<div style="border: 4px solid #0040ac">Text here</div>
#0040ac Color on white background
This is how a font and box color of #0040ac will look
on a white background.
#0040ac Color on black background
This is how a font and box color of #0040ac hex color will look
on a black background.