Shades of Midnight Blue #222172
Tints of Midnight Blue #222172
RGB
CMYK
RGB Variations
Color information
#222172 (or 0x222172) is known color: Midnight Blue. HEX triplet: 22, 21 and 72. RGB value is (34,33,114). Sum of RGB (Red+Green+Blue) = 34+33+114=181 (23% of max value = 765). Red value is 34 (13.67% from 255 or 18.78% from 181); Green value is 33 (13.28% from 255 or 18.23% from 181); Blue value is 114 (44.92% from 255 or 62.98% from 181); Max value from RGB is 114 - color contains mainly: blue. Hex color #222172 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #222172 is #DDDE8D. Grayscale: #2A2A2A. Windows color (decimal): -14540430 or 7479586. OLE color: 7479586.
HSL color Cylindrical-coordinate representation of color #222172: hue angle of 240.74º degrees, saturation: 0.55, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #222172 is Cyan = 0.70, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 34 | 33 | 114 | - |
| CMYK | 0.70 | 0.71 | 0 | 0.55 |
| HSL | 240.74º | 0.55% | 0.29% | - |
| HSV(B) | 240.74º | 0.71% | 0.45% | - |
| XYZ | 4.24 | 2.64 | 16.21 | - |
| YUV | 42.53 | 168.33 | 121.91 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 33 | 114 | 0.70 | 0.71 | 0 | 0.55 | 240.74 | 0.55 | 0.29 |
| Hex | 22 | 21 | 72 | 46 | 47 | 0 | 37 | F1 | 37 | 1D |
| Octal | 42 | 41 | 162 | 106 | 107 | 0 | 67 | 361 | 67 | 35 |
| Binary | 100010 | 100001 | 1110010 | 1000110 | 1000111 | 0 | 110111 | 11110001 | 110111 | 11101 |
Color Harmonies of #222172
Complementary color
Monochromatic Colors of #222172
Black with #222172
Text Example
Text Example
White with #222172
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222172; }
p { color: rgb(34,33,114); }
H1.HeaderClassName
{
color: #222172;
}
.AnyTagClassName
{
color: #222172;
}
</style>
background-color css
<style>
a { background-color: #222172; }
a { background-color: rgb(34,33,114); }
div.DivClassName
{
background-color: #222172;
}
.BgClassName
{
background-color: #222172;
}
</style>
border-color css
<style>
span { border-color: #222172; }
span { border-color: rgb(34,33,114); }
td.TdClassName
{
border-color: #222172;
}
.TagClassName
{
border-color: #222172;
}
</style>