Shades of Midnight Blue #040D66
Tints of Midnight Blue #040D66
RGB
CMYK
RGB Variations
Color information
#040D66 (or 0x040D66) is known color: Midnight Blue. HEX triplet: 04, 0D and 66. RGB value is (4,13,102). Sum of RGB (Red+Green+Blue) = 4+13+102=119 (15% of max value = 765). Red value is 4 (1.95% from 255 or 3.36% from 119); Green value is 13 (5.47% from 255 or 10.92% from 119); Blue value is 102 (40.23% from 255 or 85.71% from 119); Max value from RGB is 102 - color contains mainly: blue. Hex color #040D66 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040D66 is #FBF299. Grayscale: #141414. Windows color (decimal): -16511642 or 6688004. OLE color: 6688004.
HSL color Cylindrical-coordinate representation of color #040D66: hue angle of 234.49º degrees, saturation: 0.92, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040D66 is Cyan = 0.96, Magento = 0.87, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 4 | 13 | 102 | - |
| CMYK | 0.96 | 0.87 | 0 | 0.6 |
| HSL | 234.49º | 0.92% | 0.21% | - |
| HSV(B) | 234.49º | 0.96% | 0.4% | - |
| XYZ | 2.59 | 1.27 | 12.68 | - |
| YUV | 20.46 | 174.02 | 116.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 13 | 102 | 0.96 | 0.87 | 0 | 0.6 | 234.49 | 0.92 | 0.21 |
| Hex | 4 | D | 66 | 60 | 57 | 0 | 3C | EA | 5C | 15 |
| Octal | 4 | 15 | 146 | 140 | 127 | 0 | 74 | 352 | 134 | 25 |
| Binary | 100 | 1101 | 1100110 | 1100000 | 1010111 | 0 | 111100 | 11101010 | 1011100 | 10101 |
Color Harmonies of #040D66
Complementary color
Monochromatic Colors of #040D66
Black with #040D66
Text Example
Text Example
White with #040D66
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040D66; }
p { color: rgb(4,13,102); }
H1.HeaderClassName
{
color: #040D66;
}
.AnyTagClassName
{
color: #040D66;
}
</style>
background-color css
<style>
a { background-color: #040D66; }
a { background-color: rgb(4,13,102); }
div.DivClassName
{
background-color: #040D66;
}
.BgClassName
{
background-color: #040D66;
}
</style>
border-color css
<style>
span { border-color: #040D66; }
span { border-color: rgb(4,13,102); }
td.TdClassName
{
border-color: #040D66;
}
.TagClassName
{
border-color: #040D66;
}
</style>