Shades of Midnight Blue #212A76
Tints of Midnight Blue #212A76
RGB
CMYK
RGB Variations
Color information
#212A76 (or 0x212A76) is known color: Midnight Blue. HEX triplet: 21, 2A and 76. RGB value is (33,42,118). Sum of RGB (Red+Green+Blue) = 33+42+118=193 (25% of max value = 765). Red value is 33 (13.28% from 255 or 17.10% from 193); Green value is 42 (16.80% from 255 or 21.76% from 193); Blue value is 118 (46.48% from 255 or 61.14% from 193); Max value from RGB is 118 - color contains mainly: blue. Hex color #212A76 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #212A76 is #DED589. Grayscale: #2F2F2F. Windows color (decimal): -14603658 or 7744033. OLE color: 7744033.
HSL color Cylindrical-coordinate representation of color #212A76: hue angle of 233.65º degrees, saturation: 0.56, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #212A76 is Cyan = 0.72, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.54.
Color convert
| RGB | 33 | 42 | 118 | - |
| CMYK | 0.72 | 0.64 | 0 | 0.54 |
| HSL | 233.65º | 0.56% | 0.3% | - |
| HSV(B) | 233.65º | 0.72% | 0.46% | - |
| XYZ | 4.73 | 3.29 | 17.53 | - |
| YUV | 47.97 | 167.52 | 117.32 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 42 | 118 | 0.72 | 0.64 | 0 | 0.54 | 233.65 | 0.56 | 0.3 |
| Hex | 21 | 2A | 76 | 48 | 40 | 0 | 36 | EA | 38 | 1E |
| Octal | 41 | 52 | 166 | 110 | 100 | 0 | 66 | 352 | 70 | 36 |
| Binary | 100001 | 101010 | 1110110 | 1001000 | 1000000 | 0 | 110110 | 11101010 | 111000 | 11110 |
Color Harmonies of #212A76
Complementary color
Monochromatic Colors of #212A76
Black with #212A76
Text Example
Text Example
White with #212A76
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212A76; }
p { color: rgb(33,42,118); }
H1.HeaderClassName
{
color: #212A76;
}
.AnyTagClassName
{
color: #212A76;
}
</style>
background-color css
<style>
a { background-color: #212A76; }
a { background-color: rgb(33,42,118); }
div.DivClassName
{
background-color: #212A76;
}
.BgClassName
{
background-color: #212A76;
}
</style>
border-color css
<style>
span { border-color: #212A76; }
span { border-color: rgb(33,42,118); }
td.TdClassName
{
border-color: #212A76;
}
.TagClassName
{
border-color: #212A76;
}
</style>