Shades of Midnight Blue #222A87
Tints of Midnight Blue #222A87
RGB
CMYK
RGB Variations
Color information
#222A87 (or 0x222A87) is known color: Midnight Blue. HEX triplet: 22, 2A and 87. RGB value is (34,42,135). Sum of RGB (Red+Green+Blue) = 34+42+135=211 (27% of max value = 765). Red value is 34 (13.67% from 255 or 16.11% from 211); Green value is 42 (16.80% from 255 or 19.91% from 211); Blue value is 135 (53.12% from 255 or 63.98% from 211); Max value from RGB is 135 - color contains mainly: blue. Hex color #222A87 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #222A87 is #DDD578. Grayscale: #313131. Windows color (decimal): -14538105 or 8858146. OLE color: 8858146.
HSL color Cylindrical-coordinate representation of color #222A87: hue angle of 235.25º degrees, saturation: 0.6, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #222A87 is Cyan = 0.75, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 34 | 42 | 135 | - |
| CMYK | 0.75 | 0.69 | 0 | 0.47 |
| HSL | 235.25º | 0.6% | 0.33% | - |
| HSV(B) | 235.25º | 0.75% | 0.53% | - |
| XYZ | 5.86 | 3.75 | 23.34 | - |
| YUV | 50.21 | 175.85 | 116.44 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 42 | 135 | 0.75 | 0.69 | 0 | 0.47 | 235.25 | 0.6 | 0.33 |
| Hex | 22 | 2A | 87 | 4B | 45 | 0 | 2F | EB | 3C | 21 |
| Octal | 42 | 52 | 207 | 113 | 105 | 0 | 57 | 353 | 74 | 41 |
| Binary | 100010 | 101010 | 10000111 | 1001011 | 1000101 | 0 | 101111 | 11101011 | 111100 | 100001 |
Color Harmonies of #222A87
Complementary color
Monochromatic Colors of #222A87
Black with #222A87
Text Example
Text Example
White with #222A87
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222A87; }
p { color: rgb(34,42,135); }
H1.HeaderClassName
{
color: #222A87;
}
.AnyTagClassName
{
color: #222A87;
}
</style>
background-color css
<style>
a { background-color: #222A87; }
a { background-color: rgb(34,42,135); }
div.DivClassName
{
background-color: #222A87;
}
.BgClassName
{
background-color: #222A87;
}
</style>
border-color css
<style>
span { border-color: #222A87; }
span { border-color: rgb(34,42,135); }
td.TdClassName
{
border-color: #222A87;
}
.TagClassName
{
border-color: #222A87;
}
</style>