In RGB color space, #040f8a hex color has a red value of 4, a green value of 15 and a blue value of 138.
In CMYK color space (used in color printing), #040f8a hex color is composed of 97.1% cyan, 89.13% magenta, 0% yellow and 45.88% black.
#040f8a color has a hue of 235.1 degrees, a saturation of 94.37% and a lightness of 27.8%.
#040f8a hex color contains mainly BLUE.
The closest web safe color of #040f8a is #000099
#040f8a hex color has a decimal value of 266122.
HEX | 040f8a | #040f8a |
---|---|---|
RGB | 4, 15, 138 | rgb(4, 15, 138) |
RGB Percent | 1.57, 5.88, 54.12 | rgb(1.57, 5.88, 54.12) |
CMYK | 97, 89, 0, 46 | |
HSL | 235.1°, 94.37, 27.8 | hsl(235.1, 94.37%, 27.8%) |
HSV | 235.1°, 97.1, 54.1 |
XYZ | 4.808, 2.202, 24.216 |
---|---|
Hunter Lab | 14.839, 31.867, -86.368 |
CIE-LAB | 16.514, 44.773, -65.117 |
CIE-LCH | 16.514, 79.024, 304.512 |
CIE-LUV | 97.1, 89.13, 0, 45.88 |
Web Safe | 000099 |
RGB percent of color #040f8a
CMYK percent of color #040f8a
Text with hexadecimal color #040f8a
This text has a font color of #040f8a
<p style="color:#040f8a">Text here</p>
#040f8a Background Color
This box has a background color of #040f8a
<div style="background-color:#040f8a">Text here</div>
#040f8a Border Color
This box has a border color of #040f8a
<div style="border: 4px solid #040f8a">Text here</div>
CSS codes
<p style="color:#040f8a">Text here</p>
<div style="background-color:#040f8a">Text here</div>
<div style="border: 4px solid #040f8a">Text here</div>
#040f8a Color on white background
This is how a font and box color of #040f8a will look
on a white background.
#040f8a Color on black background
This is how a font and box color of #040f8a hex color will look
on a black background.