Shades of Midnight Blue #212872
Tints of Midnight Blue #212872
RGB
CMYK
RGB Variations
Color information
#212872 (or 0x212872) is known color: Midnight Blue. HEX triplet: 21, 28 and 72. RGB value is (33,40,114). Sum of RGB (Red+Green+Blue) = 33+40+114=187 (24% of max value = 765). Red value is 33 (13.28% from 255 or 17.65% from 187); Green value is 40 (16.02% from 255 or 21.39% from 187); Blue value is 114 (44.92% from 255 or 60.96% from 187); Max value from RGB is 114 - color contains mainly: blue. Hex color #212872 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #212872 is #DED78D. Grayscale: #2E2E2E. Windows color (decimal): -14604174 or 7481377. OLE color: 7481377.
HSL color Cylindrical-coordinate representation of color #212872: hue angle of 234.81º degrees, saturation: 0.55, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #212872 is Cyan = 0.71, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 33 | 40 | 114 | - |
| CMYK | 0.71 | 0.65 | 0 | 0.55 |
| HSL | 234.81º | 0.55% | 0.29% | - |
| HSV(B) | 234.81º | 0.71% | 0.45% | - |
| XYZ | 4.42 | 3.06 | 16.28 | - |
| YUV | 46.34 | 166.18 | 118.48 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 40 | 114 | 0.71 | 0.65 | 0 | 0.55 | 234.81 | 0.55 | 0.29 |
| Hex | 21 | 28 | 72 | 47 | 41 | 0 | 37 | EB | 37 | 1D |
| Octal | 41 | 50 | 162 | 107 | 101 | 0 | 67 | 353 | 67 | 35 |
| Binary | 100001 | 101000 | 1110010 | 1000111 | 1000001 | 0 | 110111 | 11101011 | 110111 | 11101 |
Color Harmonies of #212872
Complementary color
Monochromatic Colors of #212872
Black with #212872
Text Example
Text Example
White with #212872
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212872; }
p { color: rgb(33,40,114); }
H1.HeaderClassName
{
color: #212872;
}
.AnyTagClassName
{
color: #212872;
}
</style>
background-color css
<style>
a { background-color: #212872; }
a { background-color: rgb(33,40,114); }
div.DivClassName
{
background-color: #212872;
}
.BgClassName
{
background-color: #212872;
}
</style>
border-color css
<style>
span { border-color: #212872; }
span { border-color: rgb(33,40,114); }
td.TdClassName
{
border-color: #212872;
}
.TagClassName
{
border-color: #212872;
}
</style>