Shades of Midnight Blue #21227E
Tints of Midnight Blue #21227E
RGB
CMYK
RGB Variations
Color information
#21227E (or 0x21227E) is known color: Midnight Blue. HEX triplet: 21, 22 and 7E. RGB value is (33,34,126). Sum of RGB (Red+Green+Blue) = 33+34+126=193 (25% of max value = 765). Red value is 33 (13.28% from 255 or 17.10% from 193); Green value is 34 (13.67% from 255 or 17.62% from 193); Blue value is 126 (49.61% from 255 or 65.28% from 193); Max value from RGB is 126 - color contains mainly: blue. Hex color #21227E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21227E is #DEDD81. Grayscale: #2B2B2B. Windows color (decimal): -14605698 or 8266273. OLE color: 8266273.
HSL color Cylindrical-coordinate representation of color #21227E: hue angle of 239.35º 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 #21227E is Cyan = 0.74, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 33 | 34 | 126 | - |
| CMYK | 0.74 | 0.73 | 0 | 0.51 |
| HSL | 239.35º | 0.58% | 0.31% | - |
| HSV(B) | 239.35º | 0.74% | 0.49% | - |
| XYZ | 4.97 | 2.97 | 20.05 | - |
| YUV | 44.19 | 174.17 | 120.02 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 34 | 126 | 0.74 | 0.73 | 0 | 0.51 | 239.35 | 0.58 | 0.31 |
| Hex | 21 | 22 | 7E | 4A | 49 | 0 | 33 | EF | 3A | 1F |
| Octal | 41 | 42 | 176 | 112 | 111 | 0 | 63 | 357 | 72 | 37 |
| Binary | 100001 | 100010 | 1111110 | 1001010 | 1001001 | 0 | 110011 | 11101111 | 111010 | 11111 |
Color Harmonies of #21227E
Complementary color
Monochromatic Colors of #21227E
Black with #21227E
Text Example
Text Example
White with #21227E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21227E; }
p { color: rgb(33,34,126); }
H1.HeaderClassName
{
color: #21227E;
}
.AnyTagClassName
{
color: #21227E;
}
</style>
background-color css
<style>
a { background-color: #21227E; }
a { background-color: rgb(33,34,126); }
div.DivClassName
{
background-color: #21227E;
}
.BgClassName
{
background-color: #21227E;
}
</style>
border-color css
<style>
span { border-color: #21227E; }
span { border-color: rgb(33,34,126); }
td.TdClassName
{
border-color: #21227E;
}
.TagClassName
{
border-color: #21227E;
}
</style>