Shades of Midnight Blue #212870
Tints of Midnight Blue #212870
RGB
CMYK
RGB Variations
Color information
#212870 (or 0x212870) is known color: Midnight Blue. HEX triplet: 21, 28 and 70. RGB value is (33,40,112). Sum of RGB (Red+Green+Blue) = 33+40+112=185 (24% of max value = 765). Red value is 33 (13.28% from 255 or 17.84% from 185); Green value is 40 (16.02% from 255 or 21.62% from 185); Blue value is 112 (44.14% from 255 or 60.54% from 185); Max value from RGB is 112 - color contains mainly: blue. Hex color #212870 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #212870 is #DED78F. Grayscale: #2D2D2D. Windows color (decimal): -14604176 or 7350305. OLE color: 7350305.
HSL color Cylindrical-coordinate representation of color #212870: hue angle of 234.68º degrees, saturation: 0.54, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #212870 is Cyan = 0.71, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 33 | 40 | 112 | - |
| CMYK | 0.71 | 0.64 | 0 | 0.56 |
| HSL | 234.68º | 0.54% | 0.28% | - |
| HSV(B) | 234.68º | 0.71% | 0.44% | - |
| XYZ | 4.31 | 3.01 | 15.68 | - |
| YUV | 46.12 | 165.18 | 118.65 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 40 | 112 | 0.71 | 0.64 | 0 | 0.56 | 234.68 | 0.54 | 0.28 |
| Hex | 21 | 28 | 70 | 47 | 40 | 0 | 38 | EB | 36 | 1C |
| Octal | 41 | 50 | 160 | 107 | 100 | 0 | 70 | 353 | 66 | 34 |
| Binary | 100001 | 101000 | 1110000 | 1000111 | 1000000 | 0 | 111000 | 11101011 | 110110 | 11100 |
Color Harmonies of #212870
Complementary color
Monochromatic Colors of #212870
Black with #212870
Text Example
Text Example
White with #212870
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212870; }
p { color: rgb(33,40,112); }
H1.HeaderClassName
{
color: #212870;
}
.AnyTagClassName
{
color: #212870;
}
</style>
background-color css
<style>
a { background-color: #212870; }
a { background-color: rgb(33,40,112); }
div.DivClassName
{
background-color: #212870;
}
.BgClassName
{
background-color: #212870;
}
</style>
border-color css
<style>
span { border-color: #212870; }
span { border-color: rgb(33,40,112); }
td.TdClassName
{
border-color: #212870;
}
.TagClassName
{
border-color: #212870;
}
</style>