Shades of Midnight Blue #212A8C
Tints of Midnight Blue #212A8C
RGB
CMYK
RGB Variations
Color information
#212A8C (or 0x212A8C) is known color: Midnight Blue. HEX triplet: 21, 2A and 8C. RGB value is (33,42,140). Sum of RGB (Red+Green+Blue) = 33+42+140=215 (28% of max value = 765). Red value is 33 (13.28% from 255 or 15.35% from 215); Green value is 42 (16.80% from 255 or 19.53% from 215); Blue value is 140 (55.08% from 255 or 65.12% from 215); Max value from RGB is 140 - color contains mainly: blue. Hex color #212A8C is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #212A8C is #DED573. Grayscale: #323232. Windows color (decimal): -14603636 or 9185825. OLE color: 9185825.
HSL color Cylindrical-coordinate representation of color #212A8C: hue angle of 234.95º degrees, saturation: 0.62, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #212A8C is Cyan = 0.76, Magento = 0.7, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 33 | 42 | 140 | - |
| CMYK | 0.76 | 0.7 | 0 | 0.45 |
| HSL | 234.95º | 0.62% | 0.34% | - |
| HSV(B) | 234.95º | 0.76% | 0.55% | - |
| XYZ | 6.19 | 3.87 | 25.23 | - |
| YUV | 50.48 | 178.52 | 115.53 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 42 | 140 | 0.76 | 0.7 | 0 | 0.45 | 234.95 | 0.62 | 0.34 |
| Hex | 21 | 2A | 8C | 4C | 46 | 0 | 2D | EB | 3E | 22 |
| Octal | 41 | 52 | 214 | 114 | 106 | 0 | 55 | 353 | 76 | 42 |
| Binary | 100001 | 101010 | 10001100 | 1001100 | 1000110 | 0 | 101101 | 11101011 | 111110 | 100010 |
Color Harmonies of #212A8C
Complementary color
Monochromatic Colors of #212A8C
Black with #212A8C
Text Example
Text Example
White with #212A8C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212A8C; }
p { color: rgb(33,42,140); }
H1.HeaderClassName
{
color: #212A8C;
}
.AnyTagClassName
{
color: #212A8C;
}
</style>
background-color css
<style>
a { background-color: #212A8C; }
a { background-color: rgb(33,42,140); }
div.DivClassName
{
background-color: #212A8C;
}
.BgClassName
{
background-color: #212A8C;
}
</style>
border-color css
<style>
span { border-color: #212A8C; }
span { border-color: rgb(33,42,140); }
td.TdClassName
{
border-color: #212A8C;
}
.TagClassName
{
border-color: #212A8C;
}
</style>