Shades of Midnight Blue #212A8A
Tints of Midnight Blue #212A8A
RGB
CMYK
RGB Variations
Color information
#212A8A (or 0x212A8A) is known color: Midnight Blue. HEX triplet: 21, 2A and 8A. RGB value is (33,42,138). Sum of RGB (Red+Green+Blue) = 33+42+138=213 (28% of max value = 765). Red value is 33 (13.28% from 255 or 15.49% from 213); Green value is 42 (16.80% from 255 or 19.72% from 213); Blue value is 138 (54.30% from 255 or 64.79% from 213); Max value from RGB is 138 - color contains mainly: blue. Hex color #212A8A is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #212A8A is #DED575. Grayscale: #313131. Windows color (decimal): -14603638 or 9054753. OLE color: 9054753.
HSL color Cylindrical-coordinate representation of color #212A8A: hue angle of 234.86º degrees, saturation: 0.61, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #212A8A is Cyan = 0.76, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 33 | 42 | 138 | - |
| CMYK | 0.76 | 0.70 | 0 | 0.46 |
| HSL | 234.86º | 0.61% | 0.34% | - |
| HSV(B) | 234.86º | 0.76% | 0.54% | - |
| XYZ | 6.04 | 3.81 | 24.46 | - |
| YUV | 50.25 | 177.52 | 115.69 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 42 | 138 | 0.76 | 0.70 | 0 | 0.46 | 234.86 | 0.61 | 0.34 |
| Hex | 21 | 2A | 8A | 4C | 46 | 0 | 2E | EB | 3D | 22 |
| Octal | 41 | 52 | 212 | 114 | 106 | 0 | 56 | 353 | 75 | 42 |
| Binary | 100001 | 101010 | 10001010 | 1001100 | 1000110 | 0 | 101110 | 11101011 | 111101 | 100010 |
Color Harmonies of #212A8A
Complementary color
Monochromatic Colors of #212A8A
Black with #212A8A
Text Example
Text Example
White with #212A8A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212A8A; }
p { color: rgb(33,42,138); }
H1.HeaderClassName
{
color: #212A8A;
}
.AnyTagClassName
{
color: #212A8A;
}
</style>
background-color css
<style>
a { background-color: #212A8A; }
a { background-color: rgb(33,42,138); }
div.DivClassName
{
background-color: #212A8A;
}
.BgClassName
{
background-color: #212A8A;
}
</style>
border-color css
<style>
span { border-color: #212A8A; }
span { border-color: rgb(33,42,138); }
td.TdClassName
{
border-color: #212A8A;
}
.TagClassName
{
border-color: #212A8A;
}
</style>