In RGB color space, #0040af hex color has a red value of 0, a green value of 64 and a blue value of 175.
In CMYK color space (used in color printing), #0040af hex color is composed of 100% cyan, 63.43% magenta, 0% yellow and 31.37% black.
#0040af color has a hue of 218.1 degrees, a saturation of 100% and a lightness of 34.3%.
#0040af hex color contains mainly BLUE.
The closest web safe color of #0040af is #003399
#0040af hex color has a decimal value of 16559.
HEX | 0040af | #0040af |
---|---|---|
RGB | 0, 64, 175 | rgb(0, 64, 175) |
RGB Percent | 0, 25.1, 68.63 | rgb(0, 25.1, 68.63) |
CMYK | 100, 63, 0, 31 | |
HSL | 218.1°, 100, 34.3 | hsl(218.1, 100%, 34.3%) |
HSV | 218.1°, 100, 68.6 |
XYZ | 9.571, 6.762, 41.358 |
---|---|
Hunter Lab | 26.004, 20.192, -76.096 |
CIE-LAB | 31.259, 28.916, -63.362 |
CIE-LCH | 31.259, 69.648, 294.53 |
CIE-LUV | 100, 63.43, 0, 31.37 |
Web Safe | 003399 |
RGB percent of color #0040af
CMYK percent of color #0040af
Text with hexadecimal color #0040af
This text has a font color of #0040af
<p style="color:#0040af">Text here</p>
#0040af Background Color
This box has a background color of #0040af
<div style="background-color:#0040af">Text here</div>
#0040af Border Color
This box has a border color of #0040af
<div style="border: 4px solid #0040af">Text here</div>
CSS codes
<p style="color:#0040af">Text here</p>
<div style="background-color:#0040af">Text here</div>
<div style="border: 4px solid #0040af">Text here</div>
#0040af Color on white background
This is how a font and box color of #0040af will look
on a white background.
#0040af Color on black background
This is how a font and box color of #0040af hex color will look
on a black background.