Shades of Midnight Blue #222870
Tints of Midnight Blue #222870
RGB
CMYK
RGB Variations
Color information
#222870 (or 0x222870) is known color: Midnight Blue. HEX triplet: 22, 28 and 70. RGB value is (34,40,112). Sum of RGB (Red+Green+Blue) = 34+40+112=186 (24% of max value = 765). Red value is 34 (13.67% from 255 or 18.28% from 186); Green value is 40 (16.02% from 255 or 21.51% from 186); Blue value is 112 (44.14% from 255 or 60.22% from 186); Max value from RGB is 112 - color contains mainly: blue. Hex color #222870 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #222870 is #DDD78F. Grayscale: #2E2E2E. Windows color (decimal): -14538640 or 7350306. OLE color: 7350306.
HSL color Cylindrical-coordinate representation of color #222870: hue angle of 235.38º degrees, saturation: 0.53, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #222870 is Cyan = 0.70, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 34 | 40 | 112 | - |
| CMYK | 0.70 | 0.64 | 0 | 0.56 |
| HSL | 235.38º | 0.53% | 0.29% | - |
| HSV(B) | 235.38º | 0.7% | 0.44% | - |
| XYZ | 4.34 | 3.03 | 15.68 | - |
| YUV | 46.41 | 165.01 | 119.15 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 40 | 112 | 0.70 | 0.64 | 0 | 0.56 | 235.38 | 0.53 | 0.29 |
| Hex | 22 | 28 | 70 | 46 | 40 | 0 | 38 | EB | 35 | 1D |
| Octal | 42 | 50 | 160 | 106 | 100 | 0 | 70 | 353 | 65 | 35 |
| Binary | 100010 | 101000 | 1110000 | 1000110 | 1000000 | 0 | 111000 | 11101011 | 110101 | 11101 |
Color Harmonies of #222870
Complementary color
Monochromatic Colors of #222870
Black with #222870
Text Example
Text Example
White with #222870
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222870; }
p { color: rgb(34,40,112); }
H1.HeaderClassName
{
color: #222870;
}
.AnyTagClassName
{
color: #222870;
}
</style>
background-color css
<style>
a { background-color: #222870; }
a { background-color: rgb(34,40,112); }
div.DivClassName
{
background-color: #222870;
}
.BgClassName
{
background-color: #222870;
}
</style>
border-color css
<style>
span { border-color: #222870; }
span { border-color: rgb(34,40,112); }
td.TdClassName
{
border-color: #222870;
}
.TagClassName
{
border-color: #222870;
}
</style>