Shades of Midnight Blue #0C217F
Tints of Midnight Blue #0C217F
RGB
CMYK
RGB Variations
Color information
#0C217F (or 0x0C217F) is known color: Midnight Blue. HEX triplet: 0C, 21 and 7F. RGB value is (12,33,127). Sum of RGB (Red+Green+Blue) = 12+33+127=172 (22% of max value = 765). Red value is 12 (5.08% from 255 or 6.98% from 172); Green value is 33 (13.28% from 255 or 19.19% from 172); Blue value is 127 (50% from 255 or 73.84% from 172); Max value from RGB is 127 - color contains mainly: blue. Hex color #0C217F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C217F is #F3DE80. Grayscale: #252525. Windows color (decimal): -15982209 or 8331532. OLE color: 8331532.
HSL color Cylindrical-coordinate representation of color #0C217F: hue angle of 229.04º degrees, saturation: 0.83, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.91%. Process color model (Four color, CMYK) of #0C217F is Cyan = 0.91, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 12 | 33 | 127 | - |
| CMYK | 0.91 | 0.74 | 0 | 0.50 |
| HSL | 229.04º | 0.83% | 0.27% | - |
| HSV(B) | 229.04º | 0.91% | 0.5% | - |
| XYZ | 4.53 | 2.7 | 20.36 | - |
| YUV | 37.44 | 178.54 | 109.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 33 | 127 | 0.91 | 0.74 | 0 | 0.50 | 229.04 | 0.83 | 0.27 |
| Hex | C | 21 | 7F | 5B | 4A | 0 | 32 | E5 | 53 | 1B |
| Octal | 14 | 41 | 177 | 133 | 112 | 0 | 62 | 345 | 123 | 33 |
| Binary | 1100 | 100001 | 1111111 | 1011011 | 1001010 | 0 | 110010 | 11100101 | 1010011 | 11011 |
Color Harmonies of #0C217F
Complementary color
Monochromatic Colors of #0C217F
Black with #0C217F
Text Example
Text Example
White with #0C217F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C217F; }
p { color: rgb(12,33,127); }
H1.HeaderClassName
{
color: #0C217F;
}
.AnyTagClassName
{
color: #0C217F;
}
</style>
background-color css
<style>
a { background-color: #0C217F; }
a { background-color: rgb(12,33,127); }
div.DivClassName
{
background-color: #0C217F;
}
.BgClassName
{
background-color: #0C217F;
}
</style>
border-color css
<style>
span { border-color: #0C217F; }
span { border-color: rgb(12,33,127); }
td.TdClassName
{
border-color: #0C217F;
}
.TagClassName
{
border-color: #0C217F;
}
</style>