In RGB color space, #040f51 hex color has a red value of 4, a green value of 15 and a blue value of 81.
In CMYK color space (used in color printing), #040f51 hex color is composed of 95.06% cyan, 81.48% magenta, 0% yellow and 68.24% black.
#040f51 color has a hue of 231.4 degrees, a saturation of 90.59% and a lightness of 16.7%.
#040f51 hex color contains mainly BLUE.
The closest web safe color of #040f51 is #000066
#040f51 hex color has a decimal value of 266065.
HEX | 040f51 | #040f51 |
---|---|---|
RGB | 4, 15, 81 | rgb(4, 15, 81) |
RGB Percent | 1.57, 5.88, 31.76 | rgb(1.57, 5.88, 31.76) |
CMYK | 95, 81, 0, 68 | |
HSL | 231.4°, 90.59, 16.7 | hsl(231.4, 90.59%, 16.7%) |
HSV | 231.4°, 95.1, 31.8 |
XYZ | 1.706, 0.962, 7.88 |
---|---|
Hunter Lab | 9.808, 13.883, -40.769 |
CIE-LAB | 8.671, 24.574, -40.81 |
CIE-LCH | 8.671, 47.638, 301.055 |
CIE-LUV | 95.06, 81.48, 0, 68.24 |
Web Safe | 000066 |
RGB percent of color #040f51
CMYK percent of color #040f51
Text with hexadecimal color #040f51
This text has a font color of #040f51
<p style="color:#040f51">Text here</p>
#040f51 Background Color
This box has a background color of #040f51
<div style="background-color:#040f51">Text here</div>
#040f51 Border Color
This box has a border color of #040f51
<div style="border: 4px solid #040f51">Text here</div>
CSS codes
<p style="color:#040f51">Text here</p>
<div style="background-color:#040f51">Text here</div>
<div style="border: 4px solid #040f51">Text here</div>
#040f51 Color on white background
This is how a font and box color of #040f51 will look
on a white background.
#040f51 Color on black background
This is how a font and box color of #040f51 hex color will look
on a black background.