Shades of Midnight Blue #212171
Tints of Midnight Blue #212171
RGB
CMYK
RGB Variations
Color information
#212171 (or 0x212171) is known color: Midnight Blue. HEX triplet: 21, 21 and 71. RGB value is (33,33,113). Sum of RGB (Red+Green+Blue) = 33+33+113=179 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.44% from 179); Green value is 33 (13.28% from 255 or 18.44% from 179); Blue value is 113 (44.53% from 255 or 63.13% from 179); Max value from RGB is 113 - color contains mainly: blue. Hex color #212171 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #212171 is #DEDE8E. Grayscale: #292929. Windows color (decimal): -14605967 or 7414049. OLE color: 7414049.
HSL color Cylindrical-coordinate representation of color #212171: hue angle of 240º 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 #212171 is Cyan = 0.71, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 33 | 33 | 113 | - |
| CMYK | 0.71 | 0.71 | 0 | 0.56 |
| HSL | 240º | 0.55% | 0.29% | - |
| HSV(B) | 240º | 0.71% | 0.44% | - |
| XYZ | 4.15 | 2.6 | 15.91 | - |
| YUV | 42.12 | 168 | 121.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 33 | 113 | 0.71 | 0.71 | 0 | 0.56 | 240 | 0.55 | 0.29 |
| Hex | 21 | 21 | 71 | 47 | 47 | 0 | 38 | F0 | 37 | 1D |
| Octal | 41 | 41 | 161 | 107 | 107 | 0 | 70 | 360 | 67 | 35 |
| Binary | 100001 | 100001 | 1110001 | 1000111 | 1000111 | 0 | 111000 | 11110000 | 110111 | 11101 |
Color Harmonies of #212171
Complementary color
Monochromatic Colors of #212171
Black with #212171
Text Example
Text Example
White with #212171
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212171; }
p { color: rgb(33,33,113); }
H1.HeaderClassName
{
color: #212171;
}
.AnyTagClassName
{
color: #212171;
}
</style>
background-color css
<style>
a { background-color: #212171; }
a { background-color: rgb(33,33,113); }
div.DivClassName
{
background-color: #212171;
}
.BgClassName
{
background-color: #212171;
}
</style>
border-color css
<style>
span { border-color: #212171; }
span { border-color: rgb(33,33,113); }
td.TdClassName
{
border-color: #212171;
}
.TagClassName
{
border-color: #212171;
}
</style>