Shades of Midnight Blue #0C1879
Tints of Midnight Blue #0C1879
RGB
CMYK
RGB Variations
Color information
#0C1879 (or 0x0C1879) is known color: Midnight Blue. HEX triplet: 0C, 18 and 79. RGB value is (12,24,121). Sum of RGB (Red+Green+Blue) = 12+24+121=157 (20% of max value = 765). Red value is 12 (5.08% from 255 or 7.64% from 157); Green value is 24 (9.77% from 255 or 15.29% from 157); Blue value is 121 (47.66% from 255 or 77.07% from 157); Max value from RGB is 121 - color contains mainly: blue. Hex color #0C1879 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C1879 is #F3E786. Grayscale: #1F1F1F. Windows color (decimal): -15984519 or 7936012. OLE color: 7936012.
HSL color Cylindrical-coordinate representation of color #0C1879: hue angle of 233.39º degrees, saturation: 0.82, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #0C1879 is Cyan = 0.90, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 12 | 24 | 121 | - |
| CMYK | 0.90 | 0.80 | 0 | 0.53 |
| HSL | 233.39º | 0.82% | 0.26% | - |
| HSV(B) | 233.39º | 0.9% | 0.47% | - |
| XYZ | 3.93 | 2.11 | 18.29 | - |
| YUV | 31.47 | 178.52 | 114.11 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 24 | 121 | 0.90 | 0.80 | 0 | 0.53 | 233.39 | 0.82 | 0.26 |
| Hex | C | 18 | 79 | 5A | 50 | 0 | 35 | E9 | 52 | 1A |
| Octal | 14 | 30 | 171 | 132 | 120 | 0 | 65 | 351 | 122 | 32 |
| Binary | 1100 | 11000 | 1111001 | 1011010 | 1010000 | 0 | 110101 | 11101001 | 1010010 | 11010 |
Color Harmonies of #0C1879
Complementary color
Monochromatic Colors of #0C1879
Black with #0C1879
Text Example
Text Example
White with #0C1879
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1879; }
p { color: rgb(12,24,121); }
H1.HeaderClassName
{
color: #0C1879;
}
.AnyTagClassName
{
color: #0C1879;
}
</style>
background-color css
<style>
a { background-color: #0C1879; }
a { background-color: rgb(12,24,121); }
div.DivClassName
{
background-color: #0C1879;
}
.BgClassName
{
background-color: #0C1879;
}
</style>
border-color css
<style>
span { border-color: #0C1879; }
span { border-color: rgb(12,24,121); }
td.TdClassName
{
border-color: #0C1879;
}
.TagClassName
{
border-color: #0C1879;
}
</style>