Shades of Midnight Blue #221772
Tints of Midnight Blue #221772
RGB
CMYK
RGB Variations
Color information
#221772 (or 0x221772) is known color: Midnight Blue. HEX triplet: 22, 17 and 72. RGB value is (34,23,114). Sum of RGB (Red+Green+Blue) = 34+23+114=171 (22% of max value = 765). Red value is 34 (13.67% from 255 or 19.88% from 171); Green value is 23 (9.38% from 255 or 13.45% from 171); Blue value is 114 (44.92% from 255 or 66.67% from 171); Max value from RGB is 114 - color contains mainly: blue. Hex color #221772 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #221772 is #DDE88D. Grayscale: #242424. Windows color (decimal): -14542990 or 7477026. OLE color: 7477026.
HSL color Cylindrical-coordinate representation of color #221772: hue angle of 247.25º degrees, saturation: 0.66, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #221772 is Cyan = 0.70, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 34 | 23 | 114 | - |
| CMYK | 0.70 | 0.80 | 0 | 0.55 |
| HSL | 247.25º | 0.66% | 0.27% | - |
| HSV(B) | 247.25º | 0.8% | 0.45% | - |
| XYZ | 4 | 2.17 | 16.13 | - |
| YUV | 36.66 | 171.64 | 126.1 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 23 | 114 | 0.70 | 0.80 | 0 | 0.55 | 247.25 | 0.66 | 0.27 |
| Hex | 22 | 17 | 72 | 46 | 50 | 0 | 37 | F7 | 42 | 1B |
| Octal | 42 | 27 | 162 | 106 | 120 | 0 | 67 | 367 | 102 | 33 |
| Binary | 100010 | 10111 | 1110010 | 1000110 | 1010000 | 0 | 110111 | 11110111 | 1000010 | 11011 |
Color Harmonies of #221772
Complementary color
Monochromatic Colors of #221772
Black with #221772
Text Example
Text Example
White with #221772
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221772; }
p { color: rgb(34,23,114); }
H1.HeaderClassName
{
color: #221772;
}
.AnyTagClassName
{
color: #221772;
}
</style>
background-color css
<style>
a { background-color: #221772; }
a { background-color: rgb(34,23,114); }
div.DivClassName
{
background-color: #221772;
}
.BgClassName
{
background-color: #221772;
}
</style>
border-color css
<style>
span { border-color: #221772; }
span { border-color: rgb(34,23,114); }
td.TdClassName
{
border-color: #221772;
}
.TagClassName
{
border-color: #221772;
}
</style>