Shades of Midnight Blue #221872
Tints of Midnight Blue #221872
RGB
CMYK
RGB Variations
Color information
#221872 (or 0x221872) is known color: Midnight Blue. HEX triplet: 22, 18 and 72. RGB value is (34,24,114). Sum of RGB (Red+Green+Blue) = 34+24+114=172 (22% of max value = 765). Red value is 34 (13.67% from 255 or 19.77% from 172); Green value is 24 (9.77% from 255 or 13.95% from 172); Blue value is 114 (44.92% from 255 or 66.28% from 172); Max value from RGB is 114 - color contains mainly: blue. Hex color #221872 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #221872 is #DDE78D. Grayscale: #242424. Windows color (decimal): -14542734 or 7477282. OLE color: 7477282.
HSL color Cylindrical-coordinate representation of color #221872: hue angle of 246.67º degrees, saturation: 0.65, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #221872 is Cyan = 0.70, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 34 | 24 | 114 | - |
| CMYK | 0.70 | 0.79 | 0 | 0.55 |
| HSL | 246.67º | 0.65% | 0.27% | - |
| HSV(B) | 246.67º | 0.79% | 0.45% | - |
| XYZ | 4.02 | 2.21 | 16.13 | - |
| YUV | 37.25 | 171.31 | 125.68 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 24 | 114 | 0.70 | 0.79 | 0 | 0.55 | 246.67 | 0.65 | 0.27 |
| Hex | 22 | 18 | 72 | 46 | 4F | 0 | 37 | F7 | 41 | 1B |
| Octal | 42 | 30 | 162 | 106 | 117 | 0 | 67 | 367 | 101 | 33 |
| Binary | 100010 | 11000 | 1110010 | 1000110 | 1001111 | 0 | 110111 | 11110111 | 1000001 | 11011 |
Color Harmonies of #221872
Complementary color
Monochromatic Colors of #221872
Black with #221872
Text Example
Text Example
White with #221872
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221872; }
p { color: rgb(34,24,114); }
H1.HeaderClassName
{
color: #221872;
}
.AnyTagClassName
{
color: #221872;
}
</style>
background-color css
<style>
a { background-color: #221872; }
a { background-color: rgb(34,24,114); }
div.DivClassName
{
background-color: #221872;
}
.BgClassName
{
background-color: #221872;
}
</style>
border-color css
<style>
span { border-color: #221872; }
span { border-color: rgb(34,24,114); }
td.TdClassName
{
border-color: #221872;
}
.TagClassName
{
border-color: #221872;
}
</style>