Shades of Midnight Blue #22157D
Tints of Midnight Blue #22157D
RGB
CMYK
RGB Variations
Color information
#22157D (or 0x22157D) is known color: Midnight Blue. HEX triplet: 22, 15 and 7D. RGB value is (34,21,125). Sum of RGB (Red+Green+Blue) = 34+21+125=180 (23% of max value = 765). Red value is 34 (13.67% from 255 or 18.89% from 180); Green value is 21 (8.59% from 255 or 11.67% from 180); Blue value is 125 (49.22% from 255 or 69.44% from 180); Max value from RGB is 125 - color contains mainly: blue. Hex color #22157D is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #22157D is #DDEA82. Grayscale: #242424. Windows color (decimal): -14543491 or 8197410. OLE color: 8197410.
HSL color Cylindrical-coordinate representation of color #22157D: hue angle of 247.5º degrees, saturation: 0.71, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #22157D is Cyan = 0.73, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 34 | 21 | 125 | - |
| CMYK | 0.73 | 0.83 | 0 | 0.51 |
| HSL | 247.5º | 0.71% | 0.29% | - |
| HSV(B) | 247.5º | 0.83% | 0.49% | - |
| XYZ | 4.63 | 2.36 | 19.61 | - |
| YUV | 36.74 | 177.81 | 126.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 21 | 125 | 0.73 | 0.83 | 0 | 0.51 | 247.5 | 0.71 | 0.29 |
| Hex | 22 | 15 | 7D | 49 | 53 | 0 | 33 | F8 | 47 | 1D |
| Octal | 42 | 25 | 175 | 111 | 123 | 0 | 63 | 370 | 107 | 35 |
| Binary | 100010 | 10101 | 1111101 | 1001001 | 1010011 | 0 | 110011 | 11111000 | 1000111 | 11101 |
Color Harmonies of #22157D
Complementary color
Monochromatic Colors of #22157D
Black with #22157D
Text Example
Text Example
White with #22157D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #22157D; }
p { color: rgb(34,21,125); }
H1.HeaderClassName
{
color: #22157D;
}
.AnyTagClassName
{
color: #22157D;
}
</style>
background-color css
<style>
a { background-color: #22157D; }
a { background-color: rgb(34,21,125); }
div.DivClassName
{
background-color: #22157D;
}
.BgClassName
{
background-color: #22157D;
}
</style>
border-color css
<style>
span { border-color: #22157D; }
span { border-color: rgb(34,21,125); }
td.TdClassName
{
border-color: #22157D;
}
.TagClassName
{
border-color: #22157D;
}
</style>