In RGB color space, #040f56 hex color has a red value of 4, a green value of 15 and a blue value of 86.
In CMYK color space (used in color printing), #040f56 hex color is composed of 95.35% cyan, 82.56% magenta, 0% yellow and 66.27% black.
#040f56 color has a hue of 232 degrees, a saturation of 91.11% and a lightness of 17.6%.
#040f56 hex color contains mainly BLUE.
The closest web safe color of #040f56 is #000066
#040f56 hex color has a decimal value of 266070.
HEX | 040f56 | #040f56 |
---|---|---|
RGB | 4, 15, 86 | rgb(4, 15, 86) |
RGB Percent | 1.57, 5.88, 33.73 | rgb(1.57, 5.88, 33.73) |
CMYK | 95, 83, 0, 66 | |
HSL | 232°, 91.11, 17.6 | hsl(232, 91.11%, 17.6%) |
HSV | 232°, 95.3, 33.7 |
XYZ | 1.901, 1.039, 8.905 |
---|---|
Hunter Lab | 10.193, 15.452, -44.662 |
CIE-LAB | 9.312, 26.618, -43.172 |
CIE-LCH | 9.312, 50.718, 301.656 |
CIE-LUV | 95.35, 82.56, 0, 66.27 |
Web Safe | 000066 |
RGB percent of color #040f56
CMYK percent of color #040f56
Text with hexadecimal color #040f56
This text has a font color of #040f56
<p style="color:#040f56">Text here</p>
#040f56 Background Color
This box has a background color of #040f56
<div style="background-color:#040f56">Text here</div>
#040f56 Border Color
This box has a border color of #040f56
<div style="border: 4px solid #040f56">Text here</div>
CSS codes
<p style="color:#040f56">Text here</p>
<div style="background-color:#040f56">Text here</div>
<div style="border: 4px solid #040f56">Text here</div>
#040f56 Color on white background
This is how a font and box color of #040f56 will look
on a white background.
#040f56 Color on black background
This is how a font and box color of #040f56 hex color will look
on a black background.