In RGB color space, #040d3f hex color has a red value of 4, a green value of 13 and a blue value of 63.
In CMYK color space (used in color printing), #040d3f hex color is composed of 93.65% cyan, 79.37% magenta, 0% yellow and 75.29% black.
#040d3f color has a hue of 230.8 degrees, a saturation of 88.06% and a lightness of 13.1%.
#040d3f hex color contains mainly BLUE.
The closest web safe color of #040d3f is #000033
#040d3f hex color has a decimal value of 265535.
HEX | 040d3f | #040d3f |
---|---|---|
RGB | 4, 13, 63 | rgb(4, 13, 63) |
RGB Percent | 1.57, 5.1, 24.71 | rgb(1.57, 5.1, 24.71) |
CMYK | 94, 79, 0, 75 | |
HSL | 230.8°, 88.06, 13.1 | hsl(230.8, 88.06%, 13.1%) |
HSV | 230.8°, 93.7, 24.7 |
XYZ | 1.091, 0.673, 4.775 |
---|---|
Hunter Lab | 8.204, 9.382, -28.768 |
CIE-LAB | 6.079, 17.62, -32.461 |
CIE-LCH | 6.079, 36.935, 298.493 |
CIE-LUV | 93.65, 79.37, 0, 75.29 |
Web Safe | 000033 |
RGB percent of color #040d3f
CMYK percent of color #040d3f
Text with hexadecimal color #040d3f
This text has a font color of #040d3f
<p style="color:#040d3f">Text here</p>
#040d3f Background Color
This box has a background color of #040d3f
<div style="background-color:#040d3f">Text here</div>
#040d3f Border Color
This box has a border color of #040d3f
<div style="border: 4px solid #040d3f">Text here</div>
CSS codes
<p style="color:#040d3f">Text here</p>
<div style="background-color:#040d3f">Text here</div>
<div style="border: 4px solid #040d3f">Text here</div>
#040d3f Color on white background
This is how a font and box color of #040d3f will look
on a white background.
#040d3f Color on black background
This is how a font and box color of #040d3f hex color will look
on a black background.