Shades of Midnight Blue #040C5D
Tints of Midnight Blue #040C5D
RGB
CMYK
RGB Variations
Color information
#040C5D (or 0x040C5D) is known color: Midnight Blue. HEX triplet: 04, 0C and 5D. RGB value is (4,12,93). Sum of RGB (Red+Green+Blue) = 4+12+93=109 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.67% from 109); Green value is 12 (5.08% from 255 or 11.01% from 109); Blue value is 93 (36.72% from 255 or 85.32% from 109); Max value from RGB is 93 - color contains mainly: blue. Hex color #040C5D is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040C5D is #FBF3A2. Grayscale: #121212. Windows color (decimal): -16511907 or 6097924. OLE color: 6097924.
HSL color Cylindrical-coordinate representation of color #040C5D: hue angle of 234.61º degrees, saturation: 0.92, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.36% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040C5D is Cyan = 0.96, Magento = 0.87, Yellow = 0 and Black (K on CMYK) = 0.64.
Color convert
| RGB | 4 | 12 | 93 | - |
| CMYK | 0.96 | 0.87 | 0 | 0.64 |
| HSL | 234.61º | 0.92% | 0.19% | - |
| HSV(B) | 234.61º | 0.96% | 0.36% | - |
| XYZ | 2.16 | 1.08 | 10.45 | - |
| YUV | 18.84 | 169.85 | 117.41 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 93 | 0.96 | 0.87 | 0 | 0.64 | 234.61 | 0.92 | 0.19 |
| Hex | 4 | C | 5D | 60 | 57 | 0 | 40 | EB | 5C | 13 |
| Octal | 4 | 14 | 135 | 140 | 127 | 0 | 100 | 353 | 134 | 23 |
| Binary | 100 | 1100 | 1011101 | 1100000 | 1010111 | 0 | 1000000 | 11101011 | 1011100 | 10011 |
Color Harmonies of #040C5D
Complementary color
Monochromatic Colors of #040C5D
Black with #040C5D
Text Example
Text Example
White with #040C5D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C5D; }
p { color: rgb(4,12,93); }
H1.HeaderClassName
{
color: #040C5D;
}
.AnyTagClassName
{
color: #040C5D;
}
</style>
background-color css
<style>
a { background-color: #040C5D; }
a { background-color: rgb(4,12,93); }
div.DivClassName
{
background-color: #040C5D;
}
.BgClassName
{
background-color: #040C5D;
}
</style>
border-color css
<style>
span { border-color: #040C5D; }
span { border-color: rgb(4,12,93); }
td.TdClassName
{
border-color: #040C5D;
}
.TagClassName
{
border-color: #040C5D;
}
</style>