Shades of Midnight Blue #212A79
Tints of Midnight Blue #212A79
RGB
CMYK
RGB Variations
Color information
#212A79 (or 0x212A79) is known color: Midnight Blue. HEX triplet: 21, 2A and 79. RGB value is (33,42,121). Sum of RGB (Red+Green+Blue) = 33+42+121=196 (25% of max value = 765). Red value is 33 (13.28% from 255 or 16.84% from 196); Green value is 42 (16.80% from 255 or 21.43% from 196); Blue value is 121 (47.66% from 255 or 61.73% from 196); Max value from RGB is 121 - color contains mainly: blue. Hex color #212A79 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #212A79 is #DED586. Grayscale: #2F2F2F. Windows color (decimal): -14603655 or 7940641. OLE color: 7940641.
HSL color Cylindrical-coordinate representation of color #212A79: hue angle of 233.86º degrees, saturation: 0.57, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #212A79 is Cyan = 0.73, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 33 | 42 | 121 | - |
| CMYK | 0.73 | 0.65 | 0 | 0.53 |
| HSL | 233.86º | 0.57% | 0.3% | - |
| HSV(B) | 233.86º | 0.73% | 0.47% | - |
| XYZ | 4.91 | 3.36 | 18.48 | - |
| YUV | 48.32 | 169.02 | 117.08 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 42 | 121 | 0.73 | 0.65 | 0 | 0.53 | 233.86 | 0.57 | 0.3 |
| Hex | 21 | 2A | 79 | 49 | 41 | 0 | 35 | EA | 39 | 1E |
| Octal | 41 | 52 | 171 | 111 | 101 | 0 | 65 | 352 | 71 | 36 |
| Binary | 100001 | 101010 | 1111001 | 1001001 | 1000001 | 0 | 110101 | 11101010 | 111001 | 11110 |
Color Harmonies of #212A79
Complementary color
Monochromatic Colors of #212A79
Black with #212A79
Text Example
Text Example
White with #212A79
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212A79; }
p { color: rgb(33,42,121); }
H1.HeaderClassName
{
color: #212A79;
}
.AnyTagClassName
{
color: #212A79;
}
</style>
background-color css
<style>
a { background-color: #212A79; }
a { background-color: rgb(33,42,121); }
div.DivClassName
{
background-color: #212A79;
}
.BgClassName
{
background-color: #212A79;
}
</style>
border-color css
<style>
span { border-color: #212A79; }
span { border-color: rgb(33,42,121); }
td.TdClassName
{
border-color: #212A79;
}
.TagClassName
{
border-color: #212A79;
}
</style>