Shades of Midnight Blue #040C5E
Tints of Midnight Blue #040C5E
RGB
CMYK
RGB Variations
Color information
#040C5E (or 0x040C5E) is known color: Midnight Blue. HEX triplet: 04, 0C and 5E. RGB value is (4,12,94). Sum of RGB (Red+Green+Blue) = 4+12+94=110 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.64% from 110); Green value is 12 (5.08% from 255 or 10.91% from 110); Blue value is 94 (37.11% from 255 or 85.45% from 110); Max value from RGB is 94 - color contains mainly: blue. Hex color #040C5E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040C5E is #FBF3A1. Grayscale: #121212. Windows color (decimal): -16511906 or 6163460. OLE color: 6163460.
HSL color Cylindrical-coordinate representation of color #040C5E: hue angle of 234.67º degrees, saturation: 0.92, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040C5E is Cyan = 0.96, Magento = 0.87, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 4 | 12 | 94 | - |
| CMYK | 0.96 | 0.87 | 0 | 0.63 |
| HSL | 234.67º | 0.92% | 0.19% | - |
| HSV(B) | 234.67º | 0.96% | 0.37% | - |
| XYZ | 2.2 | 1.1 | 10.69 | - |
| YUV | 18.96 | 170.35 | 117.33 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 94 | 0.96 | 0.87 | 0 | 0.63 | 234.67 | 0.92 | 0.19 |
| Hex | 4 | C | 5E | 60 | 57 | 0 | 3F | EB | 5C | 13 |
| Octal | 4 | 14 | 136 | 140 | 127 | 0 | 77 | 353 | 134 | 23 |
| Binary | 100 | 1100 | 1011110 | 1100000 | 1010111 | 0 | 111111 | 11101011 | 1011100 | 10011 |
Color Harmonies of #040C5E
Complementary color
Monochromatic Colors of #040C5E
Black with #040C5E
Text Example
Text Example
White with #040C5E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C5E; }
p { color: rgb(4,12,94); }
H1.HeaderClassName
{
color: #040C5E;
}
.AnyTagClassName
{
color: #040C5E;
}
</style>
background-color css
<style>
a { background-color: #040C5E; }
a { background-color: rgb(4,12,94); }
div.DivClassName
{
background-color: #040C5E;
}
.BgClassName
{
background-color: #040C5E;
}
</style>
border-color css
<style>
span { border-color: #040C5E; }
span { border-color: rgb(4,12,94); }
td.TdClassName
{
border-color: #040C5E;
}
.TagClassName
{
border-color: #040C5E;
}
</style>