In RGB color space, #040a9f hex color has a red value of 4, a green value of 10 and a blue value of 159.
In CMYK color space (used in color printing), #040a9f hex color is composed of 97.48% cyan, 93.71% magenta, 0% yellow and 37.65% black.
#040a9f color has a hue of 237.7 degrees, a saturation of 95.09% and a lightness of 32%.
#040a9f hex color contains mainly BLUE.
The closest web safe color of #040a9f is #000099
#040a9f hex color has a decimal value of 264863.
HEX | 040a9f | #040a9f |
---|---|---|
RGB | 4, 10, 159 | rgb(4, 10, 159) |
RGB Percent | 1.57, 3.92, 62.35 | rgb(1.57, 3.92, 62.35) |
CMYK | 97, 94, 0, 38 | |
HSL | 237.7°, 95.09, 32 | hsl(237.7, 95.09%, 32%) |
HSV | 237.7°, 97.5, 62.4 |
XYZ | 6.417, 2.746, 32.993 |
---|---|
Hunter Lab | 16.571, 40.123, -106.447 |
CIE-LAB | 18.997, 52.748, -73.995 |
CIE-LCH | 18.997, 90.871, 305.484 |
CIE-LUV | 97.48, 93.71, 0, 37.65 |
Web Safe | 000099 |
RGB percent of color #040a9f
CMYK percent of color #040a9f
Text with hexadecimal color #040a9f
This text has a font color of #040a9f
<p style="color:#040a9f">Text here</p>
#040a9f Background Color
This box has a background color of #040a9f
<div style="background-color:#040a9f">Text here</div>
#040a9f Border Color
This box has a border color of #040a9f
<div style="border: 4px solid #040a9f">Text here</div>
CSS codes
<p style="color:#040a9f">Text here</p>
<div style="background-color:#040a9f">Text here</div>
<div style="border: 4px solid #040a9f">Text here</div>
#040a9f Color on white background
This is how a font and box color of #040a9f will look
on a white background.
#040a9f Color on black background
This is how a font and box color of #040a9f hex color will look
on a black background.