Shades of Midnight Blue #222A8C
Tints of Midnight Blue #222A8C
RGB
CMYK
RGB Variations
Color information
#222A8C (or 0x222A8C) is known color: Midnight Blue. HEX triplet: 22, 2A and 8C. RGB value is (34,42,140). Sum of RGB (Red+Green+Blue) = 34+42+140=216 (28% of max value = 765). Red value is 34 (13.67% from 255 or 15.74% from 216); Green value is 42 (16.80% from 255 or 19.44% from 216); Blue value is 140 (55.08% from 255 or 64.81% from 216); Max value from RGB is 140 - color contains mainly: blue. Hex color #222A8C is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #222A8C is #DDD573. Grayscale: #323232. Windows color (decimal): -14538100 or 9185826. OLE color: 9185826.
HSL color Cylindrical-coordinate representation of color #222A8C: hue angle of 235.47º degrees, saturation: 0.61, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #222A8C is Cyan = 0.76, Magento = 0.7, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 34 | 42 | 140 | - |
| CMYK | 0.76 | 0.7 | 0 | 0.45 |
| HSL | 235.47º | 0.61% | 0.34% | - |
| HSV(B) | 235.47º | 0.76% | 0.55% | - |
| XYZ | 6.22 | 3.89 | 25.23 | - |
| YUV | 50.78 | 178.35 | 116.03 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 42 | 140 | 0.76 | 0.7 | 0 | 0.45 | 235.47 | 0.61 | 0.34 |
| Hex | 22 | 2A | 8C | 4C | 46 | 0 | 2D | EB | 3D | 22 |
| Octal | 42 | 52 | 214 | 114 | 106 | 0 | 55 | 353 | 75 | 42 |
| Binary | 100010 | 101010 | 10001100 | 1001100 | 1000110 | 0 | 101101 | 11101011 | 111101 | 100010 |
Color Harmonies of #222A8C
Complementary color
Monochromatic Colors of #222A8C
Black with #222A8C
Text Example
Text Example
White with #222A8C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222A8C; }
p { color: rgb(34,42,140); }
H1.HeaderClassName
{
color: #222A8C;
}
.AnyTagClassName
{
color: #222A8C;
}
</style>
background-color css
<style>
a { background-color: #222A8C; }
a { background-color: rgb(34,42,140); }
div.DivClassName
{
background-color: #222A8C;
}
.BgClassName
{
background-color: #222A8C;
}
</style>
border-color css
<style>
span { border-color: #222A8C; }
span { border-color: rgb(34,42,140); }
td.TdClassName
{
border-color: #222A8C;
}
.TagClassName
{
border-color: #222A8C;
}
</style>