Shades of Midnight Blue #222162
Tints of Midnight Blue #222162
RGB
CMYK
RGB Variations
Color information
#222162 (or 0x222162) is known color: Midnight Blue. HEX triplet: 22, 21 and 62. RGB value is (34,33,98). Sum of RGB (Red+Green+Blue) = 34+33+98=165 (21% of max value = 765). Red value is 34 (13.67% from 255 or 20.61% from 165); Green value is 33 (13.28% from 255 or 20% from 165); Blue value is 98 (38.67% from 255 or 59.39% from 165); Max value from RGB is 98 - color contains mainly: blue. Hex color #222162 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #222162 is #DDDE9D. Grayscale: #282828. Windows color (decimal): -14540446 or 6431010. OLE color: 6431010.
HSL color Cylindrical-coordinate representation of color #222162: hue angle of 240.92º degrees, saturation: 0.5, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.38% and HSV saturation: 0.66%. Process color model (Four color, CMYK) of #222162 is Cyan = 0.65, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.62.
Color convert
| RGB | 34 | 33 | 98 | - |
| CMYK | 0.65 | 0.66 | 0 | 0.62 |
| HSL | 240.92º | 0.5% | 0.26% | - |
| HSV(B) | 240.92º | 0.66% | 0.38% | - |
| XYZ | 3.41 | 2.31 | 11.82 | - |
| YUV | 40.71 | 160.33 | 123.21 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 33 | 98 | 0.65 | 0.66 | 0 | 0.62 | 240.92 | 0.5 | 0.26 |
| Hex | 22 | 21 | 62 | 41 | 42 | 0 | 3E | F1 | 32 | 1A |
| Octal | 42 | 41 | 142 | 101 | 102 | 0 | 76 | 361 | 62 | 32 |
| Binary | 100010 | 100001 | 1100010 | 1000001 | 1000010 | 0 | 111110 | 11110001 | 110010 | 11010 |
Color Harmonies of #222162
Complementary color
Monochromatic Colors of #222162
Black with #222162
Text Example
Text Example
White with #222162
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222162; }
p { color: rgb(34,33,98); }
H1.HeaderClassName
{
color: #222162;
}
.AnyTagClassName
{
color: #222162;
}
</style>
background-color css
<style>
a { background-color: #222162; }
a { background-color: rgb(34,33,98); }
div.DivClassName
{
background-color: #222162;
}
.BgClassName
{
background-color: #222162;
}
</style>
border-color css
<style>
span { border-color: #222162; }
span { border-color: rgb(34,33,98); }
td.TdClassName
{
border-color: #222162;
}
.TagClassName
{
border-color: #222162;
}
</style>