Shades of Midnight Blue #222878
Tints of Midnight Blue #222878
RGB
CMYK
RGB Variations
Color information
#222878 (or 0x222878) is known color: Midnight Blue. HEX triplet: 22, 28 and 78. RGB value is (34,40,120). Sum of RGB (Red+Green+Blue) = 34+40+120=194 (25% of max value = 765). Red value is 34 (13.67% from 255 or 17.53% from 194); Green value is 40 (16.02% from 255 or 20.62% from 194); Blue value is 120 (47.27% from 255 or 61.86% from 194); Max value from RGB is 120 - color contains mainly: blue. Hex color #222878 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #222878 is #DDD787. Grayscale: #2F2F2F. Windows color (decimal): -14538632 or 7874594. OLE color: 7874594.
HSL color Cylindrical-coordinate representation of color #222878: hue angle of 235.81º degrees, saturation: 0.56, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #222878 is Cyan = 0.72, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 34 | 40 | 120 | - |
| CMYK | 0.72 | 0.67 | 0 | 0.53 |
| HSL | 235.81º | 0.56% | 0.3% | - |
| HSV(B) | 235.81º | 0.72% | 0.47% | - |
| XYZ | 4.81 | 3.21 | 18.14 | - |
| YUV | 47.33 | 169.01 | 118.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 40 | 120 | 0.72 | 0.67 | 0 | 0.53 | 235.81 | 0.56 | 0.3 |
| Hex | 22 | 28 | 78 | 48 | 43 | 0 | 35 | EC | 38 | 1E |
| Octal | 42 | 50 | 170 | 110 | 103 | 0 | 65 | 354 | 70 | 36 |
| Binary | 100010 | 101000 | 1111000 | 1001000 | 1000011 | 0 | 110101 | 11101100 | 111000 | 11110 |
Color Harmonies of #222878
Complementary color
Monochromatic Colors of #222878
Black with #222878
Text Example
Text Example
White with #222878
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222878; }
p { color: rgb(34,40,120); }
H1.HeaderClassName
{
color: #222878;
}
.AnyTagClassName
{
color: #222878;
}
</style>
background-color css
<style>
a { background-color: #222878; }
a { background-color: rgb(34,40,120); }
div.DivClassName
{
background-color: #222878;
}
.BgClassName
{
background-color: #222878;
}
</style>
border-color css
<style>
span { border-color: #222878; }
span { border-color: rgb(34,40,120); }
td.TdClassName
{
border-color: #222878;
}
.TagClassName
{
border-color: #222878;
}
</style>