Shades of Midnight Blue #222877
Tints of Midnight Blue #222877
RGB
CMYK
RGB Variations
Color information
#222877 (or 0x222877) is known color: Midnight Blue. HEX triplet: 22, 28 and 77. RGB value is (34,40,119). Sum of RGB (Red+Green+Blue) = 34+40+119=193 (25% of max value = 765). Red value is 34 (13.67% from 255 or 17.62% from 193); Green value is 40 (16.02% from 255 or 20.73% from 193); Blue value is 119 (46.88% from 255 or 61.66% from 193); Max value from RGB is 119 - color contains mainly: blue. Hex color #222877 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #222877 is #DDD788. Grayscale: #2E2E2E. Windows color (decimal): -14538633 or 7809058. OLE color: 7809058.
HSL color Cylindrical-coordinate representation of color #222877: hue angle of 235.76º degrees, saturation: 0.56, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #222877 is Cyan = 0.71, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 34 | 40 | 119 | - |
| CMYK | 0.71 | 0.66 | 0 | 0.53 |
| HSL | 235.76º | 0.56% | 0.3% | - |
| HSV(B) | 235.76º | 0.71% | 0.47% | - |
| XYZ | 4.75 | 3.19 | 17.82 | - |
| YUV | 47.21 | 168.51 | 118.58 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 40 | 119 | 0.71 | 0.66 | 0 | 0.53 | 235.76 | 0.56 | 0.3 |
| Hex | 22 | 28 | 77 | 47 | 42 | 0 | 35 | EC | 38 | 1E |
| Octal | 42 | 50 | 167 | 107 | 102 | 0 | 65 | 354 | 70 | 36 |
| Binary | 100010 | 101000 | 1110111 | 1000111 | 1000010 | 0 | 110101 | 11101100 | 111000 | 11110 |
Color Harmonies of #222877
Complementary color
Monochromatic Colors of #222877
Black with #222877
Text Example
Text Example
White with #222877
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222877; }
p { color: rgb(34,40,119); }
H1.HeaderClassName
{
color: #222877;
}
.AnyTagClassName
{
color: #222877;
}
</style>
background-color css
<style>
a { background-color: #222877; }
a { background-color: rgb(34,40,119); }
div.DivClassName
{
background-color: #222877;
}
.BgClassName
{
background-color: #222877;
}
</style>
border-color css
<style>
span { border-color: #222877; }
span { border-color: rgb(34,40,119); }
td.TdClassName
{
border-color: #222877;
}
.TagClassName
{
border-color: #222877;
}
</style>