Shades of Midnight Blue #0C1B7B
Tints of Midnight Blue #0C1B7B
RGB
CMYK
RGB Variations
Color information
#0C1B7B (or 0x0C1B7B) is known color: Midnight Blue. HEX triplet: 0C, 1B and 7B. RGB value is (12,27,123). Sum of RGB (Red+Green+Blue) = 12+27+123=162 (21% of max value = 765). Red value is 12 (5.08% from 255 or 7.41% from 162); Green value is 27 (10.94% from 255 or 16.67% from 162); Blue value is 123 (48.44% from 255 or 75.93% from 162); Max value from RGB is 123 - color contains mainly: blue. Hex color #0C1B7B is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C1B7B is #F3E484. Grayscale: #212121. Windows color (decimal): -15983749 or 8067852. OLE color: 8067852.
HSL color Cylindrical-coordinate representation of color #0C1B7B: hue angle of 231.89º degrees, saturation: 0.82, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #0C1B7B is Cyan = 0.90, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 12 | 27 | 123 | - |
| CMYK | 0.90 | 0.78 | 0 | 0.52 |
| HSL | 231.89º | 0.82% | 0.26% | - |
| HSV(B) | 231.89º | 0.9% | 0.48% | - |
| XYZ | 4.12 | 2.29 | 18.96 | - |
| YUV | 33.46 | 178.53 | 112.69 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 27 | 123 | 0.90 | 0.78 | 0 | 0.52 | 231.89 | 0.82 | 0.26 |
| Hex | C | 1B | 7B | 5A | 4E | 0 | 34 | E8 | 52 | 1A |
| Octal | 14 | 33 | 173 | 132 | 116 | 0 | 64 | 350 | 122 | 32 |
| Binary | 1100 | 11011 | 1111011 | 1011010 | 1001110 | 0 | 110100 | 11101000 | 1010010 | 11010 |
Color Harmonies of #0C1B7B
Complementary color
Monochromatic Colors of #0C1B7B
Black with #0C1B7B
Text Example
Text Example
White with #0C1B7B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1B7B; }
p { color: rgb(12,27,123); }
H1.HeaderClassName
{
color: #0C1B7B;
}
.AnyTagClassName
{
color: #0C1B7B;
}
</style>
background-color css
<style>
a { background-color: #0C1B7B; }
a { background-color: rgb(12,27,123); }
div.DivClassName
{
background-color: #0C1B7B;
}
.BgClassName
{
background-color: #0C1B7B;
}
</style>
border-color css
<style>
span { border-color: #0C1B7B; }
span { border-color: rgb(12,27,123); }
td.TdClassName
{
border-color: #0C1B7B;
}
.TagClassName
{
border-color: #0C1B7B;
}
</style>