In RGB color space, #0040ab hex color has a red value of 0, a green value of 64 and a blue value of 171.
In CMYK color space (used in color printing), #0040ab hex color is composed of 100% cyan, 62.57% magenta, 0% yellow and 32.94% black.
#0040ab color has a hue of 217.5 degrees, a saturation of 100% and a lightness of 33.5%.
#0040ab hex color contains mainly BLUE.
The closest web safe color of #0040ab is #003399
#0040ab hex color has a decimal value of 16555.
HEX | 0040ab | #0040ab |
---|---|---|
RGB | 0, 64, 171 | rgb(0, 64, 171) |
RGB Percent | 0, 25.1, 67.06 | rgb(0, 25.1, 67.06) |
CMYK | 100, 63, 0, 33 | |
HSL | 217.5°, 100, 33.5 | hsl(217.5, 100%, 33.5%) |
HSV | 217.5°, 100, 67.1 |
XYZ | 9.184, 6.607, 39.319 |
---|---|
Hunter Lab | 25.704, 18.795, -72.702 |
CIE-LAB | 30.895, 27.306, -61.569 |
CIE-LCH | 30.895, 67.353, 293.917 |
CIE-LUV | 100, 62.57, 0, 32.94 |
Web Safe | 003399 |
RGB percent of color #0040ab
CMYK percent of color #0040ab
Text with hexadecimal color #0040ab
This text has a font color of #0040ab
<p style="color:#0040ab">Text here</p>
#0040ab Background Color
This box has a background color of #0040ab
<div style="background-color:#0040ab">Text here</div>
#0040ab Border Color
This box has a border color of #0040ab
<div style="border: 4px solid #0040ab">Text here</div>
CSS codes
<p style="color:#0040ab">Text here</p>
<div style="background-color:#0040ab">Text here</div>
<div style="border: 4px solid #0040ab">Text here</div>
#0040ab Color on white background
This is how a font and box color of #0040ab will look
on a white background.
#0040ab Color on black background
This is how a font and box color of #0040ab hex color will look
on a black background.