Shades of Midnight Blue #212A71
Tints of Midnight Blue #212A71
RGB
CMYK
RGB Variations
Color information
#212A71 (or 0x212A71) is known color: Midnight Blue. HEX triplet: 21, 2A and 71. RGB value is (33,42,113). Sum of RGB (Red+Green+Blue) = 33+42+113=188 (24% of max value = 765). Red value is 33 (13.28% from 255 or 17.55% from 188); Green value is 42 (16.80% from 255 or 22.34% from 188); Blue value is 113 (44.53% from 255 or 60.11% from 188); Max value from RGB is 113 - color contains mainly: blue. Hex color #212A71 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #212A71 is #DED58E. Grayscale: #2F2F2F. Windows color (decimal): -14603663 or 7416353. OLE color: 7416353.
HSL color Cylindrical-coordinate representation of color #212A71: hue angle of 233.25º degrees, saturation: 0.55, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #212A71 is Cyan = 0.71, Magento = 0.63, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 33 | 42 | 113 | - |
| CMYK | 0.71 | 0.63 | 0 | 0.56 |
| HSL | 233.25º | 0.55% | 0.29% | - |
| HSV(B) | 233.25º | 0.71% | 0.44% | - |
| XYZ | 4.44 | 3.17 | 16 | - |
| YUV | 47.4 | 165.02 | 117.73 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 42 | 113 | 0.71 | 0.63 | 0 | 0.56 | 233.25 | 0.55 | 0.29 |
| Hex | 21 | 2A | 71 | 47 | 3F | 0 | 38 | E9 | 37 | 1D |
| Octal | 41 | 52 | 161 | 107 | 77 | 0 | 70 | 351 | 67 | 35 |
| Binary | 100001 | 101010 | 1110001 | 1000111 | 111111 | 0 | 111000 | 11101001 | 110111 | 11101 |
Color Harmonies of #212A71
Complementary color
Monochromatic Colors of #212A71
Black with #212A71
Text Example
Text Example
White with #212A71
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212A71; }
p { color: rgb(33,42,113); }
H1.HeaderClassName
{
color: #212A71;
}
.AnyTagClassName
{
color: #212A71;
}
</style>
background-color css
<style>
a { background-color: #212A71; }
a { background-color: rgb(33,42,113); }
div.DivClassName
{
background-color: #212A71;
}
.BgClassName
{
background-color: #212A71;
}
</style>
border-color css
<style>
span { border-color: #212A71; }
span { border-color: rgb(33,42,113); }
td.TdClassName
{
border-color: #212A71;
}
.TagClassName
{
border-color: #212A71;
}
</style>