Shades of Midnight Blue #040D6B
Tints of Midnight Blue #040D6B
RGB
CMYK
RGB Variations
Color information
#040D6B (or 0x040D6B) is known color: Midnight Blue. HEX triplet: 04, 0D and 6B. RGB value is (4,13,107). Sum of RGB (Red+Green+Blue) = 4+13+107=124 (16% of max value = 765). Red value is 4 (1.95% from 255 or 3.23% from 124); Green value is 13 (5.47% from 255 or 10.48% from 124); Blue value is 107 (42.19% from 255 or 86.29% from 124); Max value from RGB is 107 - color contains mainly: blue. Hex color #040D6B is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040D6B is #FBF294. Grayscale: #141414. Windows color (decimal): -16511637 or 7015684. OLE color: 7015684.
HSL color Cylindrical-coordinate representation of color #040D6B: hue angle of 234.76º degrees, saturation: 0.93, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040D6B is Cyan = 0.96, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 4 | 13 | 107 | - |
| CMYK | 0.96 | 0.88 | 0 | 0.58 |
| HSL | 234.76º | 0.93% | 0.22% | - |
| HSV(B) | 234.76º | 0.96% | 0.42% | - |
| XYZ | 2.85 | 1.38 | 14.03 | - |
| YUV | 21.03 | 176.52 | 115.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 13 | 107 | 0.96 | 0.88 | 0 | 0.58 | 234.76 | 0.93 | 0.22 |
| Hex | 4 | D | 6B | 60 | 58 | 0 | 3A | EB | 5D | 16 |
| Octal | 4 | 15 | 153 | 140 | 130 | 0 | 72 | 353 | 135 | 26 |
| Binary | 100 | 1101 | 1101011 | 1100000 | 1011000 | 0 | 111010 | 11101011 | 1011101 | 10110 |
Color Harmonies of #040D6B
Complementary color
Monochromatic Colors of #040D6B
Black with #040D6B
Text Example
Text Example
White with #040D6B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040D6B; }
p { color: rgb(4,13,107); }
H1.HeaderClassName
{
color: #040D6B;
}
.AnyTagClassName
{
color: #040D6B;
}
</style>
background-color css
<style>
a { background-color: #040D6B; }
a { background-color: rgb(4,13,107); }
div.DivClassName
{
background-color: #040D6B;
}
.BgClassName
{
background-color: #040D6B;
}
</style>
border-color css
<style>
span { border-color: #040D6B; }
span { border-color: rgb(4,13,107); }
td.TdClassName
{
border-color: #040D6B;
}
.TagClassName
{
border-color: #040D6B;
}
</style>