Shades of Midnight Blue #212A7E
Tints of Midnight Blue #212A7E
RGB
CMYK
RGB Variations
Color information
#212A7E (or 0x212A7E) is known color: Midnight Blue. HEX triplet: 21, 2A and 7E. RGB value is (33,42,126). Sum of RGB (Red+Green+Blue) = 33+42+126=201 (26% of max value = 765). Red value is 33 (13.28% from 255 or 16.42% from 201); Green value is 42 (16.80% from 255 or 20.90% from 201); Blue value is 126 (49.61% from 255 or 62.69% from 201); Max value from RGB is 126 - color contains mainly: blue. Hex color #212A7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #212A7E is #DED581. Grayscale: #303030. Windows color (decimal): -14603650 or 8268321. OLE color: 8268321.
HSL color Cylindrical-coordinate representation of color #212A7E: hue angle of 234.19º degrees, saturation: 0.58, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #212A7E is Cyan = 0.74, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 33 | 42 | 126 | - |
| CMYK | 0.74 | 0.67 | 0 | 0.51 |
| HSL | 234.19º | 0.58% | 0.31% | - |
| HSV(B) | 234.19º | 0.74% | 0.49% | - |
| XYZ | 5.22 | 3.49 | 20.14 | - |
| YUV | 48.89 | 171.52 | 116.67 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 42 | 126 | 0.74 | 0.67 | 0 | 0.51 | 234.19 | 0.58 | 0.31 |
| Hex | 21 | 2A | 7E | 4A | 43 | 0 | 33 | EA | 3A | 1F |
| Octal | 41 | 52 | 176 | 112 | 103 | 0 | 63 | 352 | 72 | 37 |
| Binary | 100001 | 101010 | 1111110 | 1001010 | 1000011 | 0 | 110011 | 11101010 | 111010 | 11111 |
Color Harmonies of #212A7E
Complementary color
Monochromatic Colors of #212A7E
Black with #212A7E
Text Example
Text Example
White with #212A7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212A7E; }
p { color: rgb(33,42,126); }
H1.HeaderClassName
{
color: #212A7E;
}
.AnyTagClassName
{
color: #212A7E;
}
</style>
background-color css
<style>
a { background-color: #212A7E; }
a { background-color: rgb(33,42,126); }
div.DivClassName
{
background-color: #212A7E;
}
.BgClassName
{
background-color: #212A7E;
}
</style>
border-color css
<style>
span { border-color: #212A7E; }
span { border-color: rgb(33,42,126); }
td.TdClassName
{
border-color: #212A7E;
}
.TagClassName
{
border-color: #212A7E;
}
</style>