Shades of Midnight Blue #212771
Tints of Midnight Blue #212771
RGB
CMYK
RGB Variations
Color information
#212771 (or 0x212771) is known color: Midnight Blue. HEX triplet: 21, 27 and 71. RGB value is (33,39,113). Sum of RGB (Red+Green+Blue) = 33+39+113=185 (24% of max value = 765). Red value is 33 (13.28% from 255 or 17.84% from 185); Green value is 39 (15.62% from 255 or 21.08% from 185); Blue value is 113 (44.53% from 255 or 61.08% from 185); Max value from RGB is 113 - color contains mainly: blue. Hex color #212771 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #212771 is #DED88E. Grayscale: #2D2D2D. Windows color (decimal): -14604431 or 7415585. OLE color: 7415585.
HSL color Cylindrical-coordinate representation of color #212771: hue angle of 235.5º 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 #212771 is Cyan = 0.71, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 33 | 39 | 113 | - |
| CMYK | 0.71 | 0.65 | 0 | 0.56 |
| HSL | 235.5º | 0.55% | 0.29% | - |
| HSV(B) | 235.5º | 0.71% | 0.44% | - |
| XYZ | 4.33 | 2.97 | 15.97 | - |
| YUV | 45.64 | 166.01 | 118.98 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 39 | 113 | 0.71 | 0.65 | 0 | 0.56 | 235.5 | 0.55 | 0.29 |
| Hex | 21 | 27 | 71 | 47 | 41 | 0 | 38 | EC | 37 | 1D |
| Octal | 41 | 47 | 161 | 107 | 101 | 0 | 70 | 354 | 67 | 35 |
| Binary | 100001 | 100111 | 1110001 | 1000111 | 1000001 | 0 | 111000 | 11101100 | 110111 | 11101 |
Color Harmonies of #212771
Complementary color
Monochromatic Colors of #212771
Black with #212771
Text Example
Text Example
White with #212771
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212771; }
p { color: rgb(33,39,113); }
H1.HeaderClassName
{
color: #212771;
}
.AnyTagClassName
{
color: #212771;
}
</style>
background-color css
<style>
a { background-color: #212771; }
a { background-color: rgb(33,39,113); }
div.DivClassName
{
background-color: #212771;
}
.BgClassName
{
background-color: #212771;
}
</style>
border-color css
<style>
span { border-color: #212771; }
span { border-color: rgb(33,39,113); }
td.TdClassName
{
border-color: #212771;
}
.TagClassName
{
border-color: #212771;
}
</style>