Shades of Midnight Blue #221272
Tints of Midnight Blue #221272
RGB
CMYK
RGB Variations
Color information
#221272 (or 0x221272) is known color: Midnight Blue. HEX triplet: 22, 12 and 72. RGB value is (34,18,114). Sum of RGB (Red+Green+Blue) = 34+18+114=166 (21% of max value = 765). Red value is 34 (13.67% from 255 or 20.48% from 166); Green value is 18 (7.42% from 255 or 10.84% from 166); Blue value is 114 (44.92% from 255 or 68.67% from 166); Max value from RGB is 114 - color contains mainly: blue. Hex color #221272 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #221272 is #DDED8D. Grayscale: #212121. Windows color (decimal): -14544270 or 7475746. OLE color: 7475746.
HSL color Cylindrical-coordinate representation of color #221272: hue angle of 250º degrees, saturation: 0.73, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #221272 is Cyan = 0.70, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 34 | 18 | 114 | - |
| CMYK | 0.70 | 0.84 | 0 | 0.55 |
| HSL | 250º | 0.73% | 0.26% | - |
| HSV(B) | 250º | 0.84% | 0.45% | - |
| XYZ | 3.91 | 1.99 | 16.1 | - |
| YUV | 33.73 | 173.3 | 128.19 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 18 | 114 | 0.70 | 0.84 | 0 | 0.55 | 250 | 0.73 | 0.26 |
| Hex | 22 | 12 | 72 | 46 | 54 | 0 | 37 | FA | 49 | 1A |
| Octal | 42 | 22 | 162 | 106 | 124 | 0 | 67 | 372 | 111 | 32 |
| Binary | 100010 | 10010 | 1110010 | 1000110 | 1010100 | 0 | 110111 | 11111010 | 1001001 | 11010 |
Color Harmonies of #221272
Complementary color
Monochromatic Colors of #221272
Black with #221272
Text Example
Text Example
White with #221272
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221272; }
p { color: rgb(34,18,114); }
H1.HeaderClassName
{
color: #221272;
}
.AnyTagClassName
{
color: #221272;
}
</style>
background-color css
<style>
a { background-color: #221272; }
a { background-color: rgb(34,18,114); }
div.DivClassName
{
background-color: #221272;
}
.BgClassName
{
background-color: #221272;
}
</style>
border-color css
<style>
span { border-color: #221272; }
span { border-color: rgb(34,18,114); }
td.TdClassName
{
border-color: #221272;
}
.TagClassName
{
border-color: #221272;
}
</style>