Shades of Midnight Blue #221F71
Tints of Midnight Blue #221F71
RGB
CMYK
RGB Variations
Color information
#221F71 (or 0x221F71) is known color: Midnight Blue. HEX triplet: 22, 1F and 71. RGB value is (34,31,113). Sum of RGB (Red+Green+Blue) = 34+31+113=178 (23% of max value = 765). Red value is 34 (13.67% from 255 or 19.10% from 178); Green value is 31 (12.5% from 255 or 17.42% from 178); Blue value is 113 (44.53% from 255 or 63.48% from 178); Max value from RGB is 113 - color contains mainly: blue. Hex color #221F71 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #221F71 is #DDE08E. Grayscale: #282828. Windows color (decimal): -14540943 or 7413538. OLE color: 7413538.
HSL color Cylindrical-coordinate representation of color #221F71: hue angle of 242.2º degrees, saturation: 0.57, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #221F71 is Cyan = 0.70, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 34 | 31 | 113 | - |
| CMYK | 0.70 | 0.73 | 0 | 0.56 |
| HSL | 242.2º | 0.57% | 0.28% | - |
| HSV(B) | 242.2º | 0.73% | 0.44% | - |
| XYZ | 4.13 | 2.51 | 15.89 | - |
| YUV | 41.25 | 168.49 | 122.83 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 31 | 113 | 0.70 | 0.73 | 0 | 0.56 | 242.2 | 0.57 | 0.28 |
| Hex | 22 | 1F | 71 | 46 | 49 | 0 | 38 | F2 | 39 | 1C |
| Octal | 42 | 37 | 161 | 106 | 111 | 0 | 70 | 362 | 71 | 34 |
| Binary | 100010 | 11111 | 1110001 | 1000110 | 1001001 | 0 | 111000 | 11110010 | 111001 | 11100 |
Color Harmonies of #221F71
Complementary color
Monochromatic Colors of #221F71
Black with #221F71
Text Example
Text Example
White with #221F71
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221F71; }
p { color: rgb(34,31,113); }
H1.HeaderClassName
{
color: #221F71;
}
.AnyTagClassName
{
color: #221F71;
}
</style>
background-color css
<style>
a { background-color: #221F71; }
a { background-color: rgb(34,31,113); }
div.DivClassName
{
background-color: #221F71;
}
.BgClassName
{
background-color: #221F71;
}
</style>
border-color css
<style>
span { border-color: #221F71; }
span { border-color: rgb(34,31,113); }
td.TdClassName
{
border-color: #221F71;
}
.TagClassName
{
border-color: #221F71;
}
</style>