Shades of Midnight Blue #212A74
Tints of Midnight Blue #212A74
RGB
CMYK
RGB Variations
Color information
#212A74 (or 0x212A74) is known color: Midnight Blue. HEX triplet: 21, 2A and 74. RGB value is (33,42,116). Sum of RGB (Red+Green+Blue) = 33+42+116=191 (25% of max value = 765). Red value is 33 (13.28% from 255 or 17.28% from 191); Green value is 42 (16.80% from 255 or 21.99% from 191); Blue value is 116 (45.70% from 255 or 60.73% from 191); Max value from RGB is 116 - color contains mainly: blue. Hex color #212A74 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #212A74 is #DED58B. Grayscale: #2F2F2F. Windows color (decimal): -14603660 or 7612961. OLE color: 7612961.
HSL color Cylindrical-coordinate representation of color #212A74: hue angle of 233.49º degrees, saturation: 0.56, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #212A74 is Cyan = 0.72, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 33 | 42 | 116 | - |
| CMYK | 0.72 | 0.64 | 0 | 0.55 |
| HSL | 233.49º | 0.56% | 0.29% | - |
| HSV(B) | 233.49º | 0.72% | 0.45% | - |
| XYZ | 4.61 | 3.24 | 16.91 | - |
| YUV | 47.75 | 166.52 | 117.48 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 42 | 116 | 0.72 | 0.64 | 0 | 0.55 | 233.49 | 0.56 | 0.29 |
| Hex | 21 | 2A | 74 | 48 | 40 | 0 | 37 | E9 | 38 | 1D |
| Octal | 41 | 52 | 164 | 110 | 100 | 0 | 67 | 351 | 70 | 35 |
| Binary | 100001 | 101010 | 1110100 | 1001000 | 1000000 | 0 | 110111 | 11101001 | 111000 | 11101 |
Color Harmonies of #212A74
Complementary color
Monochromatic Colors of #212A74
Black with #212A74
Text Example
Text Example
White with #212A74
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212A74; }
p { color: rgb(33,42,116); }
H1.HeaderClassName
{
color: #212A74;
}
.AnyTagClassName
{
color: #212A74;
}
</style>
background-color css
<style>
a { background-color: #212A74; }
a { background-color: rgb(33,42,116); }
div.DivClassName
{
background-color: #212A74;
}
.BgClassName
{
background-color: #212A74;
}
</style>
border-color css
<style>
span { border-color: #212A74; }
span { border-color: rgb(33,42,116); }
td.TdClassName
{
border-color: #212A74;
}
.TagClassName
{
border-color: #212A74;
}
</style>