Shades of Midnight Blue #222881
Tints of Midnight Blue #222881
RGB
CMYK
RGB Variations
Color information
#222881 (or 0x222881) is known color: Midnight Blue. HEX triplet: 22, 28 and 81. RGB value is (34,40,129). Sum of RGB (Red+Green+Blue) = 34+40+129=203 (26% of max value = 765). Red value is 34 (13.67% from 255 or 16.75% from 203); Green value is 40 (16.02% from 255 or 19.70% from 203); Blue value is 129 (50.78% from 255 or 63.55% from 203); Max value from RGB is 129 - color contains mainly: blue. Hex color #222881 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #222881 is #DDD77E. Grayscale: #2F2F2F. Windows color (decimal): -14538623 or 8464418. OLE color: 8464418.
HSL color Cylindrical-coordinate representation of color #222881: hue angle of 236.21º degrees, saturation: 0.58, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #222881 is Cyan = 0.74, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 34 | 40 | 129 | - |
| CMYK | 0.74 | 0.69 | 0 | 0.49 |
| HSL | 236.21º | 0.58% | 0.32% | - |
| HSV(B) | 236.21º | 0.74% | 0.51% | - |
| XYZ | 5.38 | 3.44 | 21.15 | - |
| YUV | 48.35 | 173.51 | 117.76 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 40 | 129 | 0.74 | 0.69 | 0 | 0.49 | 236.21 | 0.58 | 0.32 |
| Hex | 22 | 28 | 81 | 4A | 45 | 0 | 31 | EC | 3A | 20 |
| Octal | 42 | 50 | 201 | 112 | 105 | 0 | 61 | 354 | 72 | 40 |
| Binary | 100010 | 101000 | 10000001 | 1001010 | 1000101 | 0 | 110001 | 11101100 | 111010 | 100000 |
Color Harmonies of #222881
Complementary color
Monochromatic Colors of #222881
Black with #222881
Text Example
Text Example
White with #222881
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222881; }
p { color: rgb(34,40,129); }
H1.HeaderClassName
{
color: #222881;
}
.AnyTagClassName
{
color: #222881;
}
</style>
background-color css
<style>
a { background-color: #222881; }
a { background-color: rgb(34,40,129); }
div.DivClassName
{
background-color: #222881;
}
.BgClassName
{
background-color: #222881;
}
</style>
border-color css
<style>
span { border-color: #222881; }
span { border-color: rgb(34,40,129); }
td.TdClassName
{
border-color: #222881;
}
.TagClassName
{
border-color: #222881;
}
</style>