Shades of Midnight Blue #0C054F
Tints of Midnight Blue #0C054F
RGB
CMYK
RGB Variations
Color information
#0C054F (or 0x0C054F) is known color: Midnight Blue. HEX triplet: 0C, 05 and 4F. RGB value is (12,5,79). Sum of RGB (Red+Green+Blue) = 12+5+79=96 (12% of max value = 765). Red value is 12 (5.08% from 255 or 12.5% from 96); Green value is 5 (2.34% from 255 or 5.21% from 96); Blue value is 79 (31.25% from 255 or 82.29% from 96); Max value from RGB is 79 - color contains mainly: blue. Hex color #0C054F is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C054F is #F3FAB0. Grayscale: #0F0F0F. Windows color (decimal): -15989425 or 5178636. OLE color: 5178636.
HSL color Cylindrical-coordinate representation of color #0C054F: hue angle of 245.68º degrees, saturation: 0.88, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.94%. Process color model (Four color, CMYK) of #0C054F is Cyan = 0.85, Magento = 0.94, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 12 | 5 | 79 | - |
| CMYK | 0.85 | 0.94 | 0 | 0.69 |
| HSL | 245.68º | 0.88% | 0.16% | - |
| HSV(B) | 245.68º | 0.94% | 0.31% | - |
| XYZ | 1.62 | 0.75 | 7.46 | - |
| YUV | 15.53 | 163.82 | 125.48 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 5 | 79 | 0.85 | 0.94 | 0 | 0.69 | 245.68 | 0.88 | 0.16 |
| Hex | C | 5 | 4F | 55 | 5E | 0 | 45 | F6 | 58 | 10 |
| Octal | 14 | 5 | 117 | 125 | 136 | 0 | 105 | 366 | 130 | 20 |
| Binary | 1100 | 101 | 1001111 | 1010101 | 1011110 | 0 | 1000101 | 11110110 | 1011000 | 10000 |
Color Harmonies of #0C054F
Complementary color
Monochromatic Colors of #0C054F
Black with #0C054F
Text Example
Text Example
White with #0C054F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C054F; }
p { color: rgb(12,5,79); }
H1.HeaderClassName
{
color: #0C054F;
}
.AnyTagClassName
{
color: #0C054F;
}
</style>
background-color css
<style>
a { background-color: #0C054F; }
a { background-color: rgb(12,5,79); }
div.DivClassName
{
background-color: #0C054F;
}
.BgClassName
{
background-color: #0C054F;
}
</style>
border-color css
<style>
span { border-color: #0C054F; }
span { border-color: rgb(12,5,79); }
td.TdClassName
{
border-color: #0C054F;
}
.TagClassName
{
border-color: #0C054F;
}
</style>