Shades of Midnight Blue #212A7A
Tints of Midnight Blue #212A7A
RGB
CMYK
RGB Variations
Color information
#212A7A (or 0x212A7A) is known color: Midnight Blue. HEX triplet: 21, 2A and 7A. RGB value is (33,42,122). Sum of RGB (Red+Green+Blue) = 33+42+122=197 (26% of max value = 765). Red value is 33 (13.28% from 255 or 16.75% from 197); Green value is 42 (16.80% from 255 or 21.32% from 197); Blue value is 122 (48.05% from 255 or 61.93% from 197); Max value from RGB is 122 - color contains mainly: blue. Hex color #212A7A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #212A7A is #DED585. Grayscale: #303030. Windows color (decimal): -14603654 or 8006177. OLE color: 8006177.
HSL color Cylindrical-coordinate representation of color #212A7A: hue angle of 233.93º degrees, saturation: 0.57, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #212A7A is Cyan = 0.73, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 33 | 42 | 122 | - |
| CMYK | 0.73 | 0.66 | 0 | 0.52 |
| HSL | 233.93º | 0.57% | 0.3% | - |
| HSV(B) | 233.93º | 0.73% | 0.48% | - |
| XYZ | 4.97 | 3.38 | 18.8 | - |
| YUV | 48.43 | 169.52 | 117 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 42 | 122 | 0.73 | 0.66 | 0 | 0.52 | 233.93 | 0.57 | 0.3 |
| Hex | 21 | 2A | 7A | 49 | 42 | 0 | 34 | EA | 39 | 1E |
| Octal | 41 | 52 | 172 | 111 | 102 | 0 | 64 | 352 | 71 | 36 |
| Binary | 100001 | 101010 | 1111010 | 1001001 | 1000010 | 0 | 110100 | 11101010 | 111001 | 11110 |
Color Harmonies of #212A7A
Complementary color
Monochromatic Colors of #212A7A
Black with #212A7A
Text Example
Text Example
White with #212A7A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212A7A; }
p { color: rgb(33,42,122); }
H1.HeaderClassName
{
color: #212A7A;
}
.AnyTagClassName
{
color: #212A7A;
}
</style>
background-color css
<style>
a { background-color: #212A7A; }
a { background-color: rgb(33,42,122); }
div.DivClassName
{
background-color: #212A7A;
}
.BgClassName
{
background-color: #212A7A;
}
</style>
border-color css
<style>
span { border-color: #212A7A; }
span { border-color: rgb(33,42,122); }
td.TdClassName
{
border-color: #212A7A;
}
.TagClassName
{
border-color: #212A7A;
}
</style>