Shades of Midnight Blue #222A7E
Tints of Midnight Blue #222A7E
RGB
CMYK
RGB Variations
Color information
#222A7E (or 0x222A7E) is known color: Midnight Blue. HEX triplet: 22, 2A and 7E. RGB value is (34,42,126). Sum of RGB (Red+Green+Blue) = 34+42+126=202 (26% of max value = 765). Red value is 34 (13.67% from 255 or 16.83% from 202); Green value is 42 (16.80% from 255 or 20.79% from 202); Blue value is 126 (49.61% from 255 or 62.38% from 202); Max value from RGB is 126 - color contains mainly: blue. Hex color #222A7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #222A7E is #DDD581. Grayscale: #303030. Windows color (decimal): -14538114 or 8268322. OLE color: 8268322.
HSL color Cylindrical-coordinate representation of color #222A7E: hue angle of 234.78º degrees, saturation: 0.57, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #222A7E is Cyan = 0.73, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 34 | 42 | 126 | - |
| CMYK | 0.73 | 0.67 | 0 | 0.51 |
| HSL | 234.78º | 0.58% | 0.31% | - |
| HSV(B) | 234.78º | 0.73% | 0.49% | - |
| XYZ | 5.25 | 3.5 | 20.14 | - |
| YUV | 49.18 | 171.35 | 117.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 42 | 126 | 0.73 | 0.67 | 0 | 0.51 | 234.78 | 0.58 | 0.31 |
| Hex | 22 | 2A | 7E | 49 | 43 | 0 | 33 | EB | 3A | 1F |
| Octal | 42 | 52 | 176 | 111 | 103 | 0 | 63 | 353 | 72 | 37 |
| Binary | 100010 | 101010 | 1111110 | 1001001 | 1000011 | 0 | 110011 | 11101011 | 111010 | 11111 |
Color Harmonies of #222A7E
Complementary color
Monochromatic Colors of #222A7E
Black with #222A7E
Text Example
Text Example
White with #222A7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222A7E; }
p { color: rgb(34,42,126); }
H1.HeaderClassName
{
color: #222A7E;
}
.AnyTagClassName
{
color: #222A7E;
}
</style>
background-color css
<style>
a { background-color: #222A7E; }
a { background-color: rgb(34,42,126); }
div.DivClassName
{
background-color: #222A7E;
}
.BgClassName
{
background-color: #222A7E;
}
</style>
border-color css
<style>
span { border-color: #222A7E; }
span { border-color: rgb(34,42,126); }
td.TdClassName
{
border-color: #222A7E;
}
.TagClassName
{
border-color: #222A7E;
}
</style>