In RGB color space, #040a7f hex color has a red value of 4, a green value of 10 and a blue value of 127.
In CMYK color space (used in color printing), #040a7f hex color is composed of 96.85% cyan, 92.13% magenta, 0% yellow and 50.2% black.
#040a7f color has a hue of 237.1 degrees, a saturation of 93.89% and a lightness of 25.7%.
#040a7f hex color contains mainly BLUE.
The closest web safe color of #040a7f is #000066
#040a7f hex color has a decimal value of 264831.
HEX | 040a7f | #040a7f |
---|---|---|
RGB | 4, 10, 127 | rgb(4, 10, 127) |
RGB Percent | 1.57, 3.92, 49.8 | rgb(1.57, 3.92, 49.8) |
CMYK | 97, 92, 0, 50 | |
HSL | 237.1°, 93.89, 25.7 | hsl(237.1, 93.89%, 25.7%) |
HSV | 237.1°, 96.9, 49.8 |
XYZ | 3.989, 1.775, 20.211 |
---|---|
Hunter Lab | 13.323, 30.129, -80.618 |
CIE-LAB | 14.259, 43.331, -61.917 |
CIE-LCH | 14.259, 75.573, 304.985 |
CIE-LUV | 96.85, 92.13, 0, 50.2 |
Web Safe | 000066 |
RGB percent of color #040a7f
CMYK percent of color #040a7f
Text with hexadecimal color #040a7f
This text has a font color of #040a7f
<p style="color:#040a7f">Text here</p>
#040a7f Background Color
This box has a background color of #040a7f
<div style="background-color:#040a7f">Text here</div>
#040a7f Border Color
This box has a border color of #040a7f
<div style="border: 4px solid #040a7f">Text here</div>
CSS codes
<p style="color:#040a7f">Text here</p>
<div style="background-color:#040a7f">Text here</div>
<div style="border: 4px solid #040a7f">Text here</div>
#040a7f Color on white background
This is how a font and box color of #040a7f will look
on a white background.
#040a7f Color on black background
This is how a font and box color of #040a7f hex color will look
on a black background.