Shades of Midnight Blue #0C1F7C
Tints of Midnight Blue #0C1F7C
RGB
CMYK
RGB Variations
Color information
#0C1F7C (or 0x0C1F7C) is known color: Midnight Blue. HEX triplet: 0C, 1F and 7C. RGB value is (12,31,124). Sum of RGB (Red+Green+Blue) = 12+31+124=167 (22% of max value = 765). Red value is 12 (5.08% from 255 or 7.19% from 167); Green value is 31 (12.5% from 255 or 18.56% from 167); Blue value is 124 (48.83% from 255 or 74.25% from 167); Max value from RGB is 124 - color contains mainly: blue. Hex color #0C1F7C is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C1F7C is #F3E083. Grayscale: #232323. Windows color (decimal): -15982724 or 8134412. OLE color: 8134412.
HSL color Cylindrical-coordinate representation of color #0C1F7C: hue angle of 229.82º degrees, saturation: 0.82, 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 #0C1F7C is Cyan = 0.90, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 12 | 31 | 124 | - |
| CMYK | 0.90 | 0.75 | 0 | 0.51 |
| HSL | 229.82º | 0.82% | 0.27% | - |
| HSV(B) | 229.82º | 0.9% | 0.49% | - |
| XYZ | 4.28 | 2.51 | 19.33 | - |
| YUV | 35.92 | 177.71 | 110.94 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 31 | 124 | 0.90 | 0.75 | 0 | 0.51 | 229.82 | 0.82 | 0.27 |
| Hex | C | 1F | 7C | 5A | 4B | 0 | 33 | E6 | 52 | 1B |
| Octal | 14 | 37 | 174 | 132 | 113 | 0 | 63 | 346 | 122 | 33 |
| Binary | 1100 | 11111 | 1111100 | 1011010 | 1001011 | 0 | 110011 | 11100110 | 1010010 | 11011 |
Color Harmonies of #0C1F7C
Complementary color
Monochromatic Colors of #0C1F7C
Black with #0C1F7C
Text Example
Text Example
White with #0C1F7C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1F7C; }
p { color: rgb(12,31,124); }
H1.HeaderClassName
{
color: #0C1F7C;
}
.AnyTagClassName
{
color: #0C1F7C;
}
</style>
background-color css
<style>
a { background-color: #0C1F7C; }
a { background-color: rgb(12,31,124); }
div.DivClassName
{
background-color: #0C1F7C;
}
.BgClassName
{
background-color: #0C1F7C;
}
</style>
border-color css
<style>
span { border-color: #0C1F7C; }
span { border-color: rgb(12,31,124); }
td.TdClassName
{
border-color: #0C1F7C;
}
.TagClassName
{
border-color: #0C1F7C;
}
</style>