Shades of Midnight Blue #040D6A
Tints of Midnight Blue #040D6A
RGB
CMYK
RGB Variations
Color information
#040D6A (or 0x040D6A) is known color: Midnight Blue. HEX triplet: 04, 0D and 6A. RGB value is (4,13,106). Sum of RGB (Red+Green+Blue) = 4+13+106=123 (16% of max value = 765). Red value is 4 (1.95% from 255 or 3.25% from 123); Green value is 13 (5.47% from 255 or 10.57% from 123); Blue value is 106 (41.80% from 255 or 86.18% from 123); Max value from RGB is 106 - color contains mainly: blue. Hex color #040D6A is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040D6A is #FBF295. Grayscale: #141414. Windows color (decimal): -16511638 or 6950148. OLE color: 6950148.
HSL color Cylindrical-coordinate representation of color #040D6A: hue angle of 234.71º 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 #040D6A is Cyan = 0.96, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 4 | 13 | 106 | - |
| CMYK | 0.96 | 0.88 | 0 | 0.58 |
| HSL | 234.71º | 0.93% | 0.22% | - |
| HSV(B) | 234.71º | 0.96% | 0.42% | - |
| XYZ | 2.8 | 1.35 | 13.75 | - |
| YUV | 20.91 | 176.02 | 115.94 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 13 | 106 | 0.96 | 0.88 | 0 | 0.58 | 234.71 | 0.93 | 0.22 |
| Hex | 4 | D | 6A | 60 | 58 | 0 | 3A | EB | 5D | 16 |
| Octal | 4 | 15 | 152 | 140 | 130 | 0 | 72 | 353 | 135 | 26 |
| Binary | 100 | 1101 | 1101010 | 1100000 | 1011000 | 0 | 111010 | 11101011 | 1011101 | 10110 |
Color Harmonies of #040D6A
Complementary color
Monochromatic Colors of #040D6A
Black with #040D6A
Text Example
Text Example
White with #040D6A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040D6A; }
p { color: rgb(4,13,106); }
H1.HeaderClassName
{
color: #040D6A;
}
.AnyTagClassName
{
color: #040D6A;
}
</style>
background-color css
<style>
a { background-color: #040D6A; }
a { background-color: rgb(4,13,106); }
div.DivClassName
{
background-color: #040D6A;
}
.BgClassName
{
background-color: #040D6A;
}
</style>
border-color css
<style>
span { border-color: #040D6A; }
span { border-color: rgb(4,13,106); }
td.TdClassName
{
border-color: #040D6A;
}
.TagClassName
{
border-color: #040D6A;
}
</style>