Shades of Midnight Blue #0C1F7B
Tints of Midnight Blue #0C1F7B
RGB
CMYK
RGB Variations
Color information
#0C1F7B (or 0x0C1F7B) is known color: Midnight Blue. HEX triplet: 0C, 1F and 7B. RGB value is (12,31,123). Sum of RGB (Red+Green+Blue) = 12+31+123=166 (21% of max value = 765). Red value is 12 (5.08% from 255 or 7.23% from 166); Green value is 31 (12.5% from 255 or 18.67% from 166); Blue value is 123 (48.44% from 255 or 74.10% from 166); Max value from RGB is 123 - color contains mainly: blue. Hex color #0C1F7B is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C1F7B is #F3E084. Grayscale: #232323. Windows color (decimal): -15982725 or 8068876. OLE color: 8068876.
HSL color Cylindrical-coordinate representation of color #0C1F7B: hue angle of 229.73º 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 #0C1F7B is Cyan = 0.90, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 12 | 31 | 123 | - |
| CMYK | 0.90 | 0.75 | 0 | 0.52 |
| HSL | 229.73º | 0.82% | 0.26% | - |
| HSV(B) | 229.73º | 0.9% | 0.48% | - |
| XYZ | 4.22 | 2.49 | 19 | - |
| YUV | 35.81 | 177.21 | 111.02 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 31 | 123 | 0.90 | 0.75 | 0 | 0.52 | 229.73 | 0.82 | 0.26 |
| Hex | C | 1F | 7B | 5A | 4B | 0 | 34 | E6 | 52 | 1A |
| Octal | 14 | 37 | 173 | 132 | 113 | 0 | 64 | 346 | 122 | 32 |
| Binary | 1100 | 11111 | 1111011 | 1011010 | 1001011 | 0 | 110100 | 11100110 | 1010010 | 11010 |
Color Harmonies of #0C1F7B
Complementary color
Monochromatic Colors of #0C1F7B
Black with #0C1F7B
Text Example
Text Example
White with #0C1F7B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1F7B; }
p { color: rgb(12,31,123); }
H1.HeaderClassName
{
color: #0C1F7B;
}
.AnyTagClassName
{
color: #0C1F7B;
}
</style>
background-color css
<style>
a { background-color: #0C1F7B; }
a { background-color: rgb(12,31,123); }
div.DivClassName
{
background-color: #0C1F7B;
}
.BgClassName
{
background-color: #0C1F7B;
}
</style>
border-color css
<style>
span { border-color: #0C1F7B; }
span { border-color: rgb(12,31,123); }
td.TdClassName
{
border-color: #0C1F7B;
}
.TagClassName
{
border-color: #0C1F7B;
}
</style>