Shades of Midnight Blue #0C166B
Tints of Midnight Blue #0C166B
RGB
CMYK
RGB Variations
Color information
#0C166B (or 0x0C166B) is known color: Midnight Blue. HEX triplet: 0C, 16 and 6B. RGB value is (12,22,107). Sum of RGB (Red+Green+Blue) = 12+22+107=141 (18% of max value = 765). Red value is 12 (5.08% from 255 or 8.51% from 141); Green value is 22 (8.98% from 255 or 15.60% from 141); Blue value is 107 (42.19% from 255 or 75.89% from 141); Max value from RGB is 107 - color contains mainly: blue. Hex color #0C166B is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C166B is #F3E994. Grayscale: #1C1C1C. Windows color (decimal): -15985045 or 7017996. OLE color: 7017996.
HSL color Cylindrical-coordinate representation of color #0C166B: hue angle of 233.68º 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 #0C166B is Cyan = 0.89, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 12 | 22 | 107 | - |
| CMYK | 0.89 | 0.79 | 0 | 0.58 |
| HSL | 233.68º | 0.8% | 0.23% | - |
| HSV(B) | 233.68º | 0.89% | 0.42% | - |
| XYZ | 3.09 | 1.71 | 14.08 | - |
| YUV | 28.7 | 172.19 | 116.09 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 22 | 107 | 0.89 | 0.79 | 0 | 0.58 | 233.68 | 0.8 | 0.23 |
| Hex | C | 16 | 6B | 59 | 4F | 0 | 3A | EA | 50 | 17 |
| Octal | 14 | 26 | 153 | 131 | 117 | 0 | 72 | 352 | 120 | 27 |
| Binary | 1100 | 10110 | 1101011 | 1011001 | 1001111 | 0 | 111010 | 11101010 | 1010000 | 10111 |
Color Harmonies of #0C166B
Complementary color
Monochromatic Colors of #0C166B
Black with #0C166B
Text Example
Text Example
White with #0C166B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C166B; }
p { color: rgb(12,22,107); }
H1.HeaderClassName
{
color: #0C166B;
}
.AnyTagClassName
{
color: #0C166B;
}
</style>
background-color css
<style>
a { background-color: #0C166B; }
a { background-color: rgb(12,22,107); }
div.DivClassName
{
background-color: #0C166B;
}
.BgClassName
{
background-color: #0C166B;
}
</style>
border-color css
<style>
span { border-color: #0C166B; }
span { border-color: rgb(12,22,107); }
td.TdClassName
{
border-color: #0C166B;
}
.TagClassName
{
border-color: #0C166B;
}
</style>