In RGB color space, #040f45 hex color has a red value of 4, a green value of 15 and a blue value of 69.
In CMYK color space (used in color printing), #040f45 hex color is composed of 94.2% cyan, 78.26% magenta, 0% yellow and 72.94% black.
#040f45 color has a hue of 229.8 degrees, a saturation of 89.04% and a lightness of 14.3%.
#040f45 hex color contains mainly BLUE.
The closest web safe color of #040f45 is #000033
#040f45 hex color has a decimal value of 266053.
HEX | 040f45 | #040f45 |
---|---|---|
RGB | 4, 15, 69 | rgb(4, 15, 69) |
RGB Percent | 1.57, 5.88, 27.06 | rgb(1.57, 5.88, 27.06) |
CMYK | 94, 78, 0, 73 | |
HSL | 229.8°, 89.04, 14.3 | hsl(229.8, 89.04%, 14.3%) |
HSV | 229.8°, 94.2, 27.1 |
XYZ | 1.295, 0.797, 5.716 |
---|---|
Hunter Lab | 8.927, 10.27, -31.712 |
CIE-LAB | 7.199, 19.424, -34.888 |
CIE-LCH | 7.199, 39.931, 299.107 |
CIE-LUV | 94.2, 78.26, 0, 72.94 |
Web Safe | 000033 |
RGB percent of color #040f45
CMYK percent of color #040f45
Text with hexadecimal color #040f45
This text has a font color of #040f45
<p style="color:#040f45">Text here</p>
#040f45 Background Color
This box has a background color of #040f45
<div style="background-color:#040f45">Text here</div>
#040f45 Border Color
This box has a border color of #040f45
<div style="border: 4px solid #040f45">Text here</div>
CSS codes
<p style="color:#040f45">Text here</p>
<div style="background-color:#040f45">Text here</div>
<div style="border: 4px solid #040f45">Text here</div>
#040f45 Color on white background
This is how a font and box color of #040f45 will look
on a white background.
#040f45 Color on black background
This is how a font and box color of #040f45 hex color will look
on a black background.