Shades of Midnight Blue #0C0C5F
Tints of Midnight Blue #0C0C5F
RGB
CMYK
RGB Variations
Color information
#0C0C5F (or 0x0C0C5F) is known color: Midnight Blue. HEX triplet: 0C, 0C and 5F. RGB value is (12,12,95). Sum of RGB (Red+Green+Blue) = 12+12+95=119 (15% of max value = 765). Red value is 12 (5.08% from 255 or 10.08% from 119); Green value is 12 (5.08% from 255 or 10.08% from 119); Blue value is 95 (37.5% from 255 or 79.83% from 119); Max value from RGB is 95 - color contains mainly: blue. Hex color #0C0C5F is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C0C5F is #F3F3A0. Grayscale: #151515. Windows color (decimal): -15987617 or 6229004. OLE color: 6229004.
HSL color Cylindrical-coordinate representation of color #0C0C5F: hue angle of 240º degrees, saturation: 0.78, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.87%. Process color model (Four color, CMYK) of #0C0C5F is Cyan = 0.87, Magento = 0.87, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 12 | 12 | 95 | - |
| CMYK | 0.87 | 0.87 | 0 | 0.63 |
| HSL | 240º | 0.78% | 0.21% | - |
| HSV(B) | 240º | 0.87% | 0.37% | - |
| XYZ | 2.35 | 1.17 | 10.93 | - |
| YUV | 21.46 | 169.5 | 121.25 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 12 | 95 | 0.87 | 0.87 | 0 | 0.63 | 240 | 0.78 | 0.21 |
| Hex | C | C | 5F | 57 | 57 | 0 | 3F | F0 | 4E | 15 |
| Octal | 14 | 14 | 137 | 127 | 127 | 0 | 77 | 360 | 116 | 25 |
| Binary | 1100 | 1100 | 1011111 | 1010111 | 1010111 | 0 | 111111 | 11110000 | 1001110 | 10101 |
Color Harmonies of #0C0C5F
Complementary color
Monochromatic Colors of #0C0C5F
Black with #0C0C5F
Text Example
Text Example
White with #0C0C5F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C0C5F; }
p { color: rgb(12,12,95); }
H1.HeaderClassName
{
color: #0C0C5F;
}
.AnyTagClassName
{
color: #0C0C5F;
}
</style>
background-color css
<style>
a { background-color: #0C0C5F; }
a { background-color: rgb(12,12,95); }
div.DivClassName
{
background-color: #0C0C5F;
}
.BgClassName
{
background-color: #0C0C5F;
}
</style>
border-color css
<style>
span { border-color: #0C0C5F; }
span { border-color: rgb(12,12,95); }
td.TdClassName
{
border-color: #0C0C5F;
}
.TagClassName
{
border-color: #0C0C5F;
}
</style>