Shades of Midnight Blue #212A81
Tints of Midnight Blue #212A81
RGB
CMYK
RGB Variations
Color information
#212A81 (or 0x212A81) is known color: Midnight Blue. HEX triplet: 21, 2A and 81. RGB value is (33,42,129). Sum of RGB (Red+Green+Blue) = 33+42+129=204 (27% of max value = 765). Red value is 33 (13.28% from 255 or 16.18% from 204); Green value is 42 (16.80% from 255 or 20.59% from 204); Blue value is 129 (50.78% from 255 or 63.24% from 204); Max value from RGB is 129 - color contains mainly: blue. Hex color #212A81 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #212A81 is #DED57E. Grayscale: #303030. Windows color (decimal): -14603647 or 8464929. OLE color: 8464929.
HSL color Cylindrical-coordinate representation of color #212A81: hue angle of 234.38º degrees, saturation: 0.59, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #212A81 is Cyan = 0.74, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 33 | 42 | 129 | - |
| CMYK | 0.74 | 0.67 | 0 | 0.49 |
| HSL | 234.38º | 0.59% | 0.32% | - |
| HSV(B) | 234.38º | 0.74% | 0.51% | - |
| XYZ | 5.42 | 3.56 | 21.17 | - |
| YUV | 49.23 | 173.02 | 116.43 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 42 | 129 | 0.74 | 0.67 | 0 | 0.49 | 234.38 | 0.59 | 0.32 |
| Hex | 21 | 2A | 81 | 4A | 43 | 0 | 31 | EA | 3B | 20 |
| Octal | 41 | 52 | 201 | 112 | 103 | 0 | 61 | 352 | 73 | 40 |
| Binary | 100001 | 101010 | 10000001 | 1001010 | 1000011 | 0 | 110001 | 11101010 | 111011 | 100000 |
Color Harmonies of #212A81
Complementary color
Monochromatic Colors of #212A81
Black with #212A81
Text Example
Text Example
White with #212A81
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212A81; }
p { color: rgb(33,42,129); }
H1.HeaderClassName
{
color: #212A81;
}
.AnyTagClassName
{
color: #212A81;
}
</style>
background-color css
<style>
a { background-color: #212A81; }
a { background-color: rgb(33,42,129); }
div.DivClassName
{
background-color: #212A81;
}
.BgClassName
{
background-color: #212A81;
}
</style>
border-color css
<style>
span { border-color: #212A81; }
span { border-color: rgb(33,42,129); }
td.TdClassName
{
border-color: #212A81;
}
.TagClassName
{
border-color: #212A81;
}
</style>