Shades of Midnight Blue #0C1566
Tints of Midnight Blue #0C1566
RGB
CMYK
RGB Variations
Color information
#0C1566 (or 0x0C1566) is known color: Midnight Blue. HEX triplet: 0C, 15 and 66. RGB value is (12,21,102). Sum of RGB (Red+Green+Blue) = 12+21+102=135 (17% of max value = 765). Red value is 12 (5.08% from 255 or 8.89% from 135); Green value is 21 (8.59% from 255 or 15.56% from 135); Blue value is 102 (40.23% from 255 or 75.56% from 135); Max value from RGB is 102 - color contains mainly: blue. Hex color #0C1566 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C1566 is #F3EA99. Grayscale: #1B1B1B. Windows color (decimal): -15985306 or 6690060. OLE color: 6690060.
HSL color Cylindrical-coordinate representation of color #0C1566: hue angle of 234º degrees, saturation: 0.79, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.88%. Process color model (Four color, CMYK) of #0C1566 is Cyan = 0.88, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 12 | 21 | 102 | - |
| CMYK | 0.88 | 0.79 | 0 | 0.6 |
| HSL | 234º | 0.79% | 0.22% | - |
| HSV(B) | 234º | 0.88% | 0.4% | - |
| XYZ | 2.82 | 1.57 | 12.73 | - |
| YUV | 27.54 | 170.02 | 116.91 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 21 | 102 | 0.88 | 0.79 | 0 | 0.6 | 234 | 0.79 | 0.22 |
| Hex | C | 15 | 66 | 58 | 4F | 0 | 3C | EA | 4F | 16 |
| Octal | 14 | 25 | 146 | 130 | 117 | 0 | 74 | 352 | 117 | 26 |
| Binary | 1100 | 10101 | 1100110 | 1011000 | 1001111 | 0 | 111100 | 11101010 | 1001111 | 10110 |
Color Harmonies of #0C1566
Complementary color
Monochromatic Colors of #0C1566
Black with #0C1566
Text Example
Text Example
White with #0C1566
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1566; }
p { color: rgb(12,21,102); }
H1.HeaderClassName
{
color: #0C1566;
}
.AnyTagClassName
{
color: #0C1566;
}
</style>
background-color css
<style>
a { background-color: #0C1566; }
a { background-color: rgb(12,21,102); }
div.DivClassName
{
background-color: #0C1566;
}
.BgClassName
{
background-color: #0C1566;
}
</style>
border-color css
<style>
span { border-color: #0C1566; }
span { border-color: rgb(12,21,102); }
td.TdClassName
{
border-color: #0C1566;
}
.TagClassName
{
border-color: #0C1566;
}
</style>