Shades of Midnight Blue #0C1E7E
Tints of Midnight Blue #0C1E7E
RGB
CMYK
RGB Variations
Color information
#0C1E7E (or 0x0C1E7E) is known color: Midnight Blue. HEX triplet: 0C, 1E and 7E. RGB value is (12,30,126). Sum of RGB (Red+Green+Blue) = 12+30+126=168 (22% of max value = 765). Red value is 12 (5.08% from 255 or 7.14% from 168); Green value is 30 (12.11% from 255 or 17.86% from 168); Blue value is 126 (49.61% from 255 or 75% from 168); Max value from RGB is 126 - color contains mainly: blue. Hex color #0C1E7E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C1E7E is #F3E181. Grayscale: #232323. Windows color (decimal): -15982978 or 8265228. OLE color: 8265228.
HSL color Cylindrical-coordinate representation of color #0C1E7E: hue angle of 230.53º degrees, saturation: 0.83, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #0C1E7E is Cyan = 0.90, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 12 | 30 | 126 | - |
| CMYK | 0.90 | 0.76 | 0 | 0.51 |
| HSL | 230.53º | 0.83% | 0.27% | - |
| HSV(B) | 230.53º | 0.9% | 0.49% | - |
| XYZ | 4.38 | 2.51 | 19.99 | - |
| YUV | 35.56 | 179.04 | 111.19 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 30 | 126 | 0.90 | 0.76 | 0 | 0.51 | 230.53 | 0.83 | 0.27 |
| Hex | C | 1E | 7E | 5A | 4C | 0 | 33 | E7 | 53 | 1B |
| Octal | 14 | 36 | 176 | 132 | 114 | 0 | 63 | 347 | 123 | 33 |
| Binary | 1100 | 11110 | 1111110 | 1011010 | 1001100 | 0 | 110011 | 11100111 | 1010011 | 11011 |
Color Harmonies of #0C1E7E
Complementary color
Monochromatic Colors of #0C1E7E
Black with #0C1E7E
Text Example
Text Example
White with #0C1E7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1E7E; }
p { color: rgb(12,30,126); }
H1.HeaderClassName
{
color: #0C1E7E;
}
.AnyTagClassName
{
color: #0C1E7E;
}
</style>
background-color css
<style>
a { background-color: #0C1E7E; }
a { background-color: rgb(12,30,126); }
div.DivClassName
{
background-color: #0C1E7E;
}
.BgClassName
{
background-color: #0C1E7E;
}
</style>
border-color css
<style>
span { border-color: #0C1E7E; }
span { border-color: rgb(12,30,126); }
td.TdClassName
{
border-color: #0C1E7E;
}
.TagClassName
{
border-color: #0C1E7E;
}
</style>