Shades of Midnight Blue #0C156A
Tints of Midnight Blue #0C156A
RGB
CMYK
RGB Variations
Color information
#0C156A (or 0x0C156A) is known color: Midnight Blue. HEX triplet: 0C, 15 and 6A. RGB value is (12,21,106). Sum of RGB (Red+Green+Blue) = 12+21+106=139 (18% of max value = 765). Red value is 12 (5.08% from 255 or 8.63% from 139); Green value is 21 (8.59% from 255 or 15.11% from 139); Blue value is 106 (41.80% from 255 or 76.26% from 139); Max value from RGB is 106 - color contains mainly: blue. Hex color #0C156A is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C156A is #F3EA95. Grayscale: #1B1B1B. Windows color (decimal): -15985302 or 6952204. OLE color: 6952204.
HSL color Cylindrical-coordinate representation of color #0C156A: hue angle of 234.26º degrees, saturation: 0.8, lightness: 0.23%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.89%. Process color model (Four color, CMYK) of #0C156A is Cyan = 0.89, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 12 | 21 | 106 | - |
| CMYK | 0.89 | 0.80 | 0 | 0.58 |
| HSL | 234.26º | 0.8% | 0.23% | - |
| HSV(B) | 234.26º | 0.89% | 0.42% | - |
| XYZ | 3.02 | 1.66 | 13.8 | - |
| YUV | 28 | 172.02 | 116.59 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 21 | 106 | 0.89 | 0.80 | 0 | 0.58 | 234.26 | 0.8 | 0.23 |
| Hex | C | 15 | 6A | 59 | 50 | 0 | 3A | EA | 50 | 17 |
| Octal | 14 | 25 | 152 | 131 | 120 | 0 | 72 | 352 | 120 | 27 |
| Binary | 1100 | 10101 | 1101010 | 1011001 | 1010000 | 0 | 111010 | 11101010 | 1010000 | 10111 |
Color Harmonies of #0C156A
Complementary color
Monochromatic Colors of #0C156A
Black with #0C156A
Text Example
Text Example
White with #0C156A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C156A; }
p { color: rgb(12,21,106); }
H1.HeaderClassName
{
color: #0C156A;
}
.AnyTagClassName
{
color: #0C156A;
}
</style>
background-color css
<style>
a { background-color: #0C156A; }
a { background-color: rgb(12,21,106); }
div.DivClassName
{
background-color: #0C156A;
}
.BgClassName
{
background-color: #0C156A;
}
</style>
border-color css
<style>
span { border-color: #0C156A; }
span { border-color: rgb(12,21,106); }
td.TdClassName
{
border-color: #0C156A;
}
.TagClassName
{
border-color: #0C156A;
}
</style>