Shades of Midnight Blue #0C186D
Tints of Midnight Blue #0C186D
RGB
CMYK
RGB Variations
Color information
#0C186D (or 0x0C186D) is known color: Midnight Blue. HEX triplet: 0C, 18 and 6D. RGB value is (12,24,109). Sum of RGB (Red+Green+Blue) = 12+24+109=145 (19% of max value = 765). Red value is 12 (5.08% from 255 or 8.28% from 145); Green value is 24 (9.77% from 255 or 16.55% from 145); Blue value is 109 (42.97% from 255 or 75.17% from 145); Max value from RGB is 109 - color contains mainly: blue. Hex color #0C186D is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C186D is #F3E792. Grayscale: #1D1D1D. Windows color (decimal): -15984531 or 7149580. OLE color: 7149580.
HSL color Cylindrical-coordinate representation of color #0C186D: hue angle of 232.58º degrees, saturation: 0.8, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.89%. Process color model (Four color, CMYK) of #0C186D is Cyan = 0.89, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 12 | 24 | 109 | - |
| CMYK | 0.89 | 0.78 | 0 | 0.57 |
| HSL | 232.58º | 0.8% | 0.24% | - |
| HSV(B) | 232.58º | 0.89% | 0.43% | - |
| XYZ | 3.24 | 1.84 | 14.65 | - |
| YUV | 30.1 | 172.52 | 115.09 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 24 | 109 | 0.89 | 0.78 | 0 | 0.57 | 232.58 | 0.8 | 0.24 |
| Hex | C | 18 | 6D | 59 | 4E | 0 | 39 | E9 | 50 | 18 |
| Octal | 14 | 30 | 155 | 131 | 116 | 0 | 71 | 351 | 120 | 30 |
| Binary | 1100 | 11000 | 1101101 | 1011001 | 1001110 | 0 | 111001 | 11101001 | 1010000 | 11000 |
Color Harmonies of #0C186D
Complementary color
Monochromatic Colors of #0C186D
Black with #0C186D
Text Example
Text Example
White with #0C186D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C186D; }
p { color: rgb(12,24,109); }
H1.HeaderClassName
{
color: #0C186D;
}
.AnyTagClassName
{
color: #0C186D;
}
</style>
background-color css
<style>
a { background-color: #0C186D; }
a { background-color: rgb(12,24,109); }
div.DivClassName
{
background-color: #0C186D;
}
.BgClassName
{
background-color: #0C186D;
}
</style>
border-color css
<style>
span { border-color: #0C186D; }
span { border-color: rgb(12,24,109); }
td.TdClassName
{
border-color: #0C186D;
}
.TagClassName
{
border-color: #0C186D;
}
</style>