Shades of Midnight Blue #221F80
Tints of Midnight Blue #221F80
RGB
CMYK
RGB Variations
Color information
#221F80 (or 0x221F80) is known color: Midnight Blue. HEX triplet: 22, 1F and 80. RGB value is (34,31,128). Sum of RGB (Red+Green+Blue) = 34+31+128=193 (25% of max value = 765). Red value is 34 (13.67% from 255 or 17.62% from 193); Green value is 31 (12.5% from 255 or 16.06% from 193); Blue value is 128 (50.39% from 255 or 66.32% from 193); Max value from RGB is 128 - color contains mainly: blue. Hex color #221F80 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #221F80 is #DDE07F. Grayscale: #2A2A2A. Windows color (decimal): -14540928 or 8396578. OLE color: 8396578.
HSL color Cylindrical-coordinate representation of color #221F80: hue angle of 241.86º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #221F80 is Cyan = 0.73, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 34 | 31 | 128 | - |
| CMYK | 0.73 | 0.76 | 0 | 0.50 |
| HSL | 241.86º | 0.61% | 0.31% | - |
| HSV(B) | 241.86º | 0.76% | 0.5% | - |
| XYZ | 5.05 | 2.88 | 20.71 | - |
| YUV | 42.96 | 175.99 | 121.61 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 31 | 128 | 0.73 | 0.76 | 0 | 0.50 | 241.86 | 0.61 | 0.31 |
| Hex | 22 | 1F | 80 | 49 | 4C | 0 | 32 | F2 | 3D | 1F |
| Octal | 42 | 37 | 200 | 111 | 114 | 0 | 62 | 362 | 75 | 37 |
| Binary | 100010 | 11111 | 10000000 | 1001001 | 1001100 | 0 | 110010 | 11110010 | 111101 | 11111 |
Color Harmonies of #221F80
Complementary color
Monochromatic Colors of #221F80
Black with #221F80
Text Example
Text Example
White with #221F80
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221F80; }
p { color: rgb(34,31,128); }
H1.HeaderClassName
{
color: #221F80;
}
.AnyTagClassName
{
color: #221F80;
}
</style>
background-color css
<style>
a { background-color: #221F80; }
a { background-color: rgb(34,31,128); }
div.DivClassName
{
background-color: #221F80;
}
.BgClassName
{
background-color: #221F80;
}
</style>
border-color css
<style>
span { border-color: #221F80; }
span { border-color: rgb(34,31,128); }
td.TdClassName
{
border-color: #221F80;
}
.TagClassName
{
border-color: #221F80;
}
</style>