Shades of Midnight Blue #221F78
Tints of Midnight Blue #221F78
RGB
CMYK
RGB Variations
Color information
#221F78 (or 0x221F78) is known color: Midnight Blue. HEX triplet: 22, 1F and 78. RGB value is (34,31,120). Sum of RGB (Red+Green+Blue) = 34+31+120=185 (24% of max value = 765). Red value is 34 (13.67% from 255 or 18.38% from 185); Green value is 31 (12.5% from 255 or 16.76% from 185); Blue value is 120 (47.27% from 255 or 64.86% from 185); Max value from RGB is 120 - color contains mainly: blue. Hex color #221F78 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #221F78 is #DDE087. Grayscale: #292929. Windows color (decimal): -14540936 or 7872290. OLE color: 7872290.
HSL color Cylindrical-coordinate representation of color #221F78: hue angle of 242.02º degrees, saturation: 0.59, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #221F78 is Cyan = 0.72, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 34 | 31 | 120 | - |
| CMYK | 0.72 | 0.74 | 0 | 0.53 |
| HSL | 242.02º | 0.59% | 0.3% | - |
| HSV(B) | 242.02º | 0.74% | 0.47% | - |
| XYZ | 4.54 | 2.68 | 18.05 | - |
| YUV | 42.04 | 171.99 | 122.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 31 | 120 | 0.72 | 0.74 | 0 | 0.53 | 242.02 | 0.59 | 0.3 |
| Hex | 22 | 1F | 78 | 48 | 4A | 0 | 35 | F2 | 3B | 1E |
| Octal | 42 | 37 | 170 | 110 | 112 | 0 | 65 | 362 | 73 | 36 |
| Binary | 100010 | 11111 | 1111000 | 1001000 | 1001010 | 0 | 110101 | 11110010 | 111011 | 11110 |
Color Harmonies of #221F78
Complementary color
Monochromatic Colors of #221F78
Black with #221F78
Text Example
Text Example
White with #221F78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221F78; }
p { color: rgb(34,31,120); }
H1.HeaderClassName
{
color: #221F78;
}
.AnyTagClassName
{
color: #221F78;
}
</style>
background-color css
<style>
a { background-color: #221F78; }
a { background-color: rgb(34,31,120); }
div.DivClassName
{
background-color: #221F78;
}
.BgClassName
{
background-color: #221F78;
}
</style>
border-color css
<style>
span { border-color: #221F78; }
span { border-color: rgb(34,31,120); }
td.TdClassName
{
border-color: #221F78;
}
.TagClassName
{
border-color: #221F78;
}
</style>