Shades of Midnight Blue #222A8B
Tints of Midnight Blue #222A8B
RGB
CMYK
RGB Variations
Color information
#222A8B (or 0x222A8B) is known color: Midnight Blue. HEX triplet: 22, 2A and 8B. RGB value is (34,42,139). Sum of RGB (Red+Green+Blue) = 34+42+139=215 (28% of max value = 765). Red value is 34 (13.67% from 255 or 15.81% from 215); Green value is 42 (16.80% from 255 or 19.53% from 215); Blue value is 139 (54.69% from 255 or 64.65% from 215); Max value from RGB is 139 - color contains mainly: blue. Hex color #222A8B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #222A8B is #DDD574. Grayscale: #323232. Windows color (decimal): -14538101 or 9120290. OLE color: 9120290.
HSL color Cylindrical-coordinate representation of color #222A8B: hue angle of 235.43º 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 #222A8B is Cyan = 0.76, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 34 | 42 | 139 | - |
| CMYK | 0.76 | 0.70 | 0 | 0.45 |
| HSL | 235.43º | 0.61% | 0.34% | - |
| HSV(B) | 235.43º | 0.76% | 0.55% | - |
| XYZ | 6.15 | 3.86 | 24.85 | - |
| YUV | 50.67 | 177.85 | 116.11 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 42 | 139 | 0.76 | 0.70 | 0 | 0.45 | 235.43 | 0.61 | 0.34 |
| Hex | 22 | 2A | 8B | 4C | 46 | 0 | 2D | EB | 3D | 22 |
| Octal | 42 | 52 | 213 | 114 | 106 | 0 | 55 | 353 | 75 | 42 |
| Binary | 100010 | 101010 | 10001011 | 1001100 | 1000110 | 0 | 101101 | 11101011 | 111101 | 100010 |
Color Harmonies of #222A8B
Complementary color
Monochromatic Colors of #222A8B
Black with #222A8B
Text Example
Text Example
White with #222A8B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222A8B; }
p { color: rgb(34,42,139); }
H1.HeaderClassName
{
color: #222A8B;
}
.AnyTagClassName
{
color: #222A8B;
}
</style>
background-color css
<style>
a { background-color: #222A8B; }
a { background-color: rgb(34,42,139); }
div.DivClassName
{
background-color: #222A8B;
}
.BgClassName
{
background-color: #222A8B;
}
</style>
border-color css
<style>
span { border-color: #222A8B; }
span { border-color: rgb(34,42,139); }
td.TdClassName
{
border-color: #222A8B;
}
.TagClassName
{
border-color: #222A8B;
}
</style>