Shades of Midnight Blue #222A8A
Tints of Midnight Blue #222A8A
RGB
CMYK
RGB Variations
Color information
#222A8A (or 0x222A8A) is known color: Midnight Blue. HEX triplet: 22, 2A and 8A. RGB value is (34,42,138). Sum of RGB (Red+Green+Blue) = 34+42+138=214 (28% of max value = 765). Red value is 34 (13.67% from 255 or 15.89% from 214); Green value is 42 (16.80% from 255 or 19.63% from 214); Blue value is 138 (54.30% from 255 or 64.49% from 214); Max value from RGB is 138 - color contains mainly: blue. Hex color #222A8A is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #222A8A is #DDD575. Grayscale: #323232. Windows color (decimal): -14538102 or 9054754. OLE color: 9054754.
HSL color Cylindrical-coordinate representation of color #222A8A: hue angle of 235.38º degrees, saturation: 0.6, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #222A8A is Cyan = 0.75, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 34 | 42 | 138 | - |
| CMYK | 0.75 | 0.70 | 0 | 0.46 |
| HSL | 235.38º | 0.6% | 0.34% | - |
| HSV(B) | 235.38º | 0.75% | 0.54% | - |
| XYZ | 6.08 | 3.83 | 24.46 | - |
| YUV | 50.55 | 177.35 | 116.19 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 42 | 138 | 0.75 | 0.70 | 0 | 0.46 | 235.38 | 0.6 | 0.34 |
| Hex | 22 | 2A | 8A | 4B | 46 | 0 | 2E | EB | 3C | 22 |
| Octal | 42 | 52 | 212 | 113 | 106 | 0 | 56 | 353 | 74 | 42 |
| Binary | 100010 | 101010 | 10001010 | 1001011 | 1000110 | 0 | 101110 | 11101011 | 111100 | 100010 |
Color Harmonies of #222A8A
Complementary color
Monochromatic Colors of #222A8A
Black with #222A8A
Text Example
Text Example
White with #222A8A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222A8A; }
p { color: rgb(34,42,138); }
H1.HeaderClassName
{
color: #222A8A;
}
.AnyTagClassName
{
color: #222A8A;
}
</style>
background-color css
<style>
a { background-color: #222A8A; }
a { background-color: rgb(34,42,138); }
div.DivClassName
{
background-color: #222A8A;
}
.BgClassName
{
background-color: #222A8A;
}
</style>
border-color css
<style>
span { border-color: #222A8A; }
span { border-color: rgb(34,42,138); }
td.TdClassName
{
border-color: #222A8A;
}
.TagClassName
{
border-color: #222A8A;
}
</style>