In RGB color space, #040d8d hex color has a red value of 4, a green value of 13 and a blue value of 141.
In CMYK color space (used in color printing), #040d8d hex color is composed of 97.16% cyan, 90.78% magenta, 0% yellow and 44.71% black.
#040d8d color has a hue of 236.1 degrees, a saturation of 94.48% and a lightness of 28.4%.
#040d8d hex color contains mainly BLUE.
The closest web safe color of #040d8d is #000099
#040d8d hex color has a decimal value of 265613.
HEX | 040d8d | #040d8d |
---|---|---|
RGB | 4, 13, 141 | rgb(4, 13, 141) |
RGB Percent | 1.57, 5.1, 55.29 | rgb(1.57, 5.1, 55.29) |
CMYK | 97, 91, 0, 45 | |
HSL | 236.1°, 94.48, 28.4 | hsl(236.1, 94.48%, 28.4%) |
HSV | 236.1°, 97.2, 55.3 |
XYZ | 5.002, 2.237, 25.367 |
---|---|
Hunter Lab | 14.957, 33.522, -90.089 |
CIE-LAB | 16.685, 46.489, -66.711 |
CIE-LCH | 16.685, 81.312, 304.872 |
CIE-LUV | 97.16, 90.78, 0, 44.71 |
Web Safe | 000099 |
RGB percent of color #040d8d
CMYK percent of color #040d8d
Text with hexadecimal color #040d8d
This text has a font color of #040d8d
<p style="color:#040d8d">Text here</p>
#040d8d Background Color
This box has a background color of #040d8d
<div style="background-color:#040d8d">Text here</div>
#040d8d Border Color
This box has a border color of #040d8d
<div style="border: 4px solid #040d8d">Text here</div>
CSS codes
<p style="color:#040d8d">Text here</p>
<div style="background-color:#040d8d">Text here</div>
<div style="border: 4px solid #040d8d">Text here</div>
#040d8d Color on white background
This is how a font and box color of #040d8d will look
on a white background.
#040d8d Color on black background
This is how a font and box color of #040d8d hex color will look
on a black background.