Shades of Midnight Blue #222381
Tints of Midnight Blue #222381
RGB
CMYK
RGB Variations
Color information
#222381 (or 0x222381) is known color: Midnight Blue. HEX triplet: 22, 23 and 81. RGB value is (34,35,129). Sum of RGB (Red+Green+Blue) = 34+35+129=198 (26% of max value = 765). Red value is 34 (13.67% from 255 or 17.17% from 198); Green value is 35 (14.06% from 255 or 17.68% from 198); Blue value is 129 (50.78% from 255 or 65.15% from 198); Max value from RGB is 129 - color contains mainly: blue. Hex color #222381 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #222381 is #DDDC7E. Grayscale: #2D2D2D. Windows color (decimal): -14539903 or 8463138. OLE color: 8463138.
HSL color Cylindrical-coordinate representation of color #222381: hue angle of 239.37º 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 #222381 is Cyan = 0.74, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 34 | 35 | 129 | - |
| CMYK | 0.74 | 0.73 | 0 | 0.49 |
| HSL | 239.37º | 0.58% | 0.32% | - |
| HSV(B) | 239.37º | 0.74% | 0.51% | - |
| XYZ | 5.22 | 3.13 | 21.1 | - |
| YUV | 45.42 | 175.17 | 119.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 35 | 129 | 0.74 | 0.73 | 0 | 0.49 | 239.37 | 0.58 | 0.32 |
| Hex | 22 | 23 | 81 | 4A | 49 | 0 | 31 | EF | 3A | 20 |
| Octal | 42 | 43 | 201 | 112 | 111 | 0 | 61 | 357 | 72 | 40 |
| Binary | 100010 | 100011 | 10000001 | 1001010 | 1001001 | 0 | 110001 | 11101111 | 111010 | 100000 |
Color Harmonies of #222381
Complementary color
Monochromatic Colors of #222381
Black with #222381
Text Example
Text Example
White with #222381
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222381; }
p { color: rgb(34,35,129); }
H1.HeaderClassName
{
color: #222381;
}
.AnyTagClassName
{
color: #222381;
}
</style>
background-color css
<style>
a { background-color: #222381; }
a { background-color: rgb(34,35,129); }
div.DivClassName
{
background-color: #222381;
}
.BgClassName
{
background-color: #222381;
}
</style>
border-color css
<style>
span { border-color: #222381; }
span { border-color: rgb(34,35,129); }
td.TdClassName
{
border-color: #222381;
}
.TagClassName
{
border-color: #222381;
}
</style>