In RGB color space, #040f4e hex color has a red value of 4, a green value of 15 and a blue value of 78.
In CMYK color space (used in color printing), #040f4e hex color is composed of 94.87% cyan, 80.77% magenta, 0% yellow and 69.41% black.
#040f4e color has a hue of 231.1 degrees, a saturation of 90.24% and a lightness of 16.1%.
#040f4e hex color contains mainly BLUE.
The closest web safe color of #040f4e is #000066
#040f4e hex color has a decimal value of 266062.
HEX | 040f4e | #040f4e |
---|---|---|
RGB | 4, 15, 78 | rgb(4, 15, 78) |
RGB Percent | 1.57, 5.88, 30.59 | rgb(1.57, 5.88, 30.59) |
CMYK | 95, 81, 0, 69 | |
HSL | 231.1°, 90.24, 16.1 | hsl(231.1, 90.24%, 16.1%) |
HSV | 231.1°, 94.9, 30.6 |
XYZ | 1.596, 0.918, 7.301 |
---|---|
Hunter Lab | 9.581, 12.967, -38.473 |
CIE-LAB | 8.289, 23.344, -39.375 |
CIE-LCH | 8.289, 45.775, 300.662 |
CIE-LUV | 94.87, 80.77, 0, 69.41 |
Web Safe | 000066 |
RGB percent of color #040f4e
CMYK percent of color #040f4e
Text with hexadecimal color #040f4e
This text has a font color of #040f4e
<p style="color:#040f4e">Text here</p>
#040f4e Background Color
This box has a background color of #040f4e
<div style="background-color:#040f4e">Text here</div>
#040f4e Border Color
This box has a border color of #040f4e
<div style="border: 4px solid #040f4e">Text here</div>
CSS codes
<p style="color:#040f4e">Text here</p>
<div style="background-color:#040f4e">Text here</div>
<div style="border: 4px solid #040f4e">Text here</div>
#040f4e Color on white background
This is how a font and box color of #040f4e will look
on a white background.
#040f4e Color on black background
This is how a font and box color of #040f4e hex color will look
on a black background.