In RGB color space, #040f8c hex color has a red value of 4, a green value of 15 and a blue value of 140.
In CMYK color space (used in color printing), #040f8c hex color is composed of 97.14% cyan, 89.29% magenta, 0% yellow and 45.1% black.
#040f8c color has a hue of 235.1 degrees, a saturation of 94.44% and a lightness of 28.2%.
#040f8c hex color contains mainly BLUE.
The closest web safe color of #040f8c is #000099
#040f8c hex color has a decimal value of 266124.
HEX | 040f8c | #040f8c |
---|---|---|
RGB | 4, 15, 140 | rgb(4, 15, 140) |
RGB Percent | 1.57, 5.88, 54.9 | rgb(1.57, 5.88, 54.9) |
CMYK | 97, 89, 0, 45 | |
HSL | 235.1°, 94.44, 28.2 | hsl(235.1, 94.44%, 28.2%) |
HSV | 235.1°, 97.1, 54.9 |
XYZ | 4.955, 2.261, 24.986 |
---|---|
Hunter Lab | 15.037, 32.507, -87.995 |
CIE-LAB | 16.801, 45.398, -65.891 |
CIE-LCH | 16.801, 80.016, 304.566 |
CIE-LUV | 97.14, 89.29, 0, 45.1 |
Web Safe | 000099 |
RGB percent of color #040f8c
CMYK percent of color #040f8c
Text with hexadecimal color #040f8c
This text has a font color of #040f8c
<p style="color:#040f8c">Text here</p>
#040f8c Background Color
This box has a background color of #040f8c
<div style="background-color:#040f8c">Text here</div>
#040f8c Border Color
This box has a border color of #040f8c
<div style="border: 4px solid #040f8c">Text here</div>
CSS codes
<p style="color:#040f8c">Text here</p>
<div style="background-color:#040f8c">Text here</div>
<div style="border: 4px solid #040f8c">Text here</div>
#040f8c Color on white background
This is how a font and box color of #040f8c will look
on a white background.
#040f8c Color on black background
This is how a font and box color of #040f8c hex color will look
on a black background.