In RGB color space, #040f9a hex color has a red value of 4, a green value of 15 and a blue value of 154.
In CMYK color space (used in color printing), #040f9a hex color is composed of 97.4% cyan, 90.26% magenta, 0% yellow and 39.61% black.
#040f9a color has a hue of 235.6 degrees, a saturation of 94.94% and a lightness of 31%.
#040f9a hex color contains mainly BLUE.
The closest web safe color of #040f9a is #000099
#040f9a hex color has a decimal value of 266138.
HEX | 040f9a | #040f9a |
---|---|---|
RGB | 4, 15, 154 | rgb(4, 15, 154) |
RGB Percent | 1.57, 5.88, 60.39 | rgb(1.57, 5.88, 60.39) |
CMYK | 97, 90, 0, 40 | |
HSL | 235.6°, 94.94, 31 | hsl(235.6, 94.94%, 31%) |
HSV | 235.6°, 97.4, 60.4 |
XYZ | 6.054, 2.701, 30.774 |
---|---|
Hunter Lab | 16.435, 36.993, -99.516 |
CIE-LAB | 18.804, 49.663, -71.244 |
CIE-LCH | 18.804, 86.845, 304.88 |
CIE-LUV | 97.4, 90.26, 0, 39.61 |
Web Safe | 000099 |
RGB percent of color #040f9a
CMYK percent of color #040f9a
Text with hexadecimal color #040f9a
This text has a font color of #040f9a
<p style="color:#040f9a">Text here</p>
#040f9a Background Color
This box has a background color of #040f9a
<div style="background-color:#040f9a">Text here</div>
#040f9a Border Color
This box has a border color of #040f9a
<div style="border: 4px solid #040f9a">Text here</div>
CSS codes
<p style="color:#040f9a">Text here</p>
<div style="background-color:#040f9a">Text here</div>
<div style="border: 4px solid #040f9a">Text here</div>
#040f9a Color on white background
This is how a font and box color of #040f9a will look
on a white background.
#040f9a Color on black background
This is how a font and box color of #040f9a hex color will look
on a black background.