In RGB color space, #040fab hex color has a red value of 4, a green value of 15 and a blue value of 171.
In CMYK color space (used in color printing), #040fab hex color is composed of 97.66% cyan, 91.23% magenta, 0% yellow and 32.94% black.
#040fab color has a hue of 236 degrees, a saturation of 95.43% and a lightness of 34.3%.
#040fab hex color contains mainly BLUE.
The closest web safe color of #040fab is #000099
#040fab hex color has a decimal value of 266155.
HEX | 040fab | #040fab |
---|---|---|
RGB | 4, 15, 171 | rgb(4, 15, 171) |
RGB Percent | 1.57, 5.88, 67.06 | rgb(1.57, 5.88, 67.06) |
CMYK | 98, 91, 0, 33 | |
HSL | 236°, 95.43, 34.3 | hsl(236, 95.43%, 34.3%) |
HSV | 236°, 97.7, 67.1 |
XYZ | 7.572, 3.308, 38.767 |
---|---|
Hunter Lab | 18.188, 42.484, -113.643 |
CIE-LAB | 21.237, 54.637, -77.55 |
CIE-LCH | 21.237, 94.864, 305.166 |
CIE-LUV | 97.66, 91.23, 0, 32.94 |
Web Safe | 000099 |
RGB percent of color #040fab
CMYK percent of color #040fab
Text with hexadecimal color #040fab
This text has a font color of #040fab
<p style="color:#040fab">Text here</p>
#040fab Background Color
This box has a background color of #040fab
<div style="background-color:#040fab">Text here</div>
#040fab Border Color
This box has a border color of #040fab
<div style="border: 4px solid #040fab">Text here</div>
CSS codes
<p style="color:#040fab">Text here</p>
<div style="background-color:#040fab">Text here</div>
<div style="border: 4px solid #040fab">Text here</div>
#040fab Color on white background
This is how a font and box color of #040fab will look
on a white background.
#040fab Color on black background
This is how a font and box color of #040fab hex color will look
on a black background.