In RGB color space, #040f3b hex color has a red value of 4, a green value of 15 and a blue value of 59.
In CMYK color space (used in color printing), #040f3b hex color is composed of 93.22% cyan, 74.58% magenta, 0% yellow and 76.86% black.
#040f3b color has a hue of 228 degrees, a saturation of 87.3% and a lightness of 12.4%.
#040f3b hex color contains mainly BLUE.
The closest web safe color of #040f3b is #000033
#040f3b hex color has a decimal value of 266043.
HEX | 040f3b | #040f3b |
---|---|---|
RGB | 4, 15, 59 | rgb(4, 15, 59) |
RGB Percent | 1.57, 5.88, 23.14 | rgb(1.57, 5.88, 23.14) |
CMYK | 93, 75, 0, 77 | |
HSL | 228°, 87.3, 12.4 | hsl(228, 87.3%, 12.4%) |
HSV | 228°, 93.2, 23.1 |
XYZ | 1.01, 0.683, 4.216 |
---|---|
Hunter Lab | 8.264, 7.352, -24.461 |
CIE-LAB | 6.169, 14.367, -29.439 |
CIE-LCH | 6.169, 32.758, 296.014 |
CIE-LUV | 93.22, 74.58, 0, 76.86 |
Web Safe | 000033 |
RGB percent of color #040f3b
CMYK percent of color #040f3b
Text with hexadecimal color #040f3b
This text has a font color of #040f3b
<p style="color:#040f3b">Text here</p>
#040f3b Background Color
This box has a background color of #040f3b
<div style="background-color:#040f3b">Text here</div>
#040f3b Border Color
This box has a border color of #040f3b
<div style="border: 4px solid #040f3b">Text here</div>
CSS codes
<p style="color:#040f3b">Text here</p>
<div style="background-color:#040f3b">Text here</div>
<div style="border: 4px solid #040f3b">Text here</div>
#040f3b Color on white background
This is how a font and box color of #040f3b will look
on a white background.
#040f3b Color on black background
This is how a font and box color of #040f3b hex color will look
on a black background.