Shades of Midnight Blue #040F6D
Tints of Midnight Blue #040F6D
RGB
CMYK
RGB Variations
Color information
#040F6D (or 0x040F6D) is known color: Midnight Blue. HEX triplet: 04, 0F and 6D. RGB value is (4,15,109). Sum of RGB (Red+Green+Blue) = 4+15+109=128 (16% of max value = 765). Red value is 4 (1.95% from 255 or 3.12% from 128); Green value is 15 (6.25% from 255 or 11.72% from 128); Blue value is 109 (42.97% from 255 or 85.16% from 128); Max value from RGB is 109 - color contains mainly: blue. Hex color #040F6D is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040F6D is #FBF092. Grayscale: #161616. Windows color (decimal): -16511123 or 7147268. OLE color: 7147268.
HSL color Cylindrical-coordinate representation of color #040F6D: hue angle of 233.71º degrees, saturation: 0.93, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040F6D is Cyan = 0.96, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 4 | 15 | 109 | - |
| CMYK | 0.96 | 0.86 | 0 | 0.57 |
| HSL | 233.71º | 0.93% | 0.22% | - |
| HSV(B) | 233.71º | 0.96% | 0.43% | - |
| XYZ | 2.98 | 1.47 | 14.59 | - |
| YUV | 22.43 | 176.86 | 114.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 109 | 0.96 | 0.86 | 0 | 0.57 | 233.71 | 0.93 | 0.22 |
| Hex | 4 | F | 6D | 60 | 56 | 0 | 39 | EA | 5D | 16 |
| Octal | 4 | 17 | 155 | 140 | 126 | 0 | 71 | 352 | 135 | 26 |
| Binary | 100 | 1111 | 1101101 | 1100000 | 1010110 | 0 | 111001 | 11101010 | 1011101 | 10110 |
Color Harmonies of #040F6D
Complementary color
Monochromatic Colors of #040F6D
Black with #040F6D
Text Example
Text Example
White with #040F6D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040F6D; }
p { color: rgb(4,15,109); }
H1.HeaderClassName
{
color: #040F6D;
}
.AnyTagClassName
{
color: #040F6D;
}
</style>
background-color css
<style>
a { background-color: #040F6D; }
a { background-color: rgb(4,15,109); }
div.DivClassName
{
background-color: #040F6D;
}
.BgClassName
{
background-color: #040F6D;
}
</style>
border-color css
<style>
span { border-color: #040F6D; }
span { border-color: rgb(4,15,109); }
td.TdClassName
{
border-color: #040F6D;
}
.TagClassName
{
border-color: #040F6D;
}
</style>