Shades of Midnight Blue #221F84
Tints of Midnight Blue #221F84
RGB
CMYK
RGB Variations
Color information
#221F84 (or 0x221F84) is known color: Midnight Blue. HEX triplet: 22, 1F and 84. RGB value is (34,31,132). Sum of RGB (Red+Green+Blue) = 34+31+132=197 (26% of max value = 765). Red value is 34 (13.67% from 255 or 17.26% from 197); Green value is 31 (12.5% from 255 or 15.74% from 197); Blue value is 132 (51.95% from 255 or 67.01% from 197); Max value from RGB is 132 - color contains mainly: blue. Hex color #221F84 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #221F84 is #DDE07B. Grayscale: #2B2B2B. Windows color (decimal): -14540924 or 8658722. OLE color: 8658722.
HSL color Cylindrical-coordinate representation of color #221F84: hue angle of 241.78º degrees, saturation: 0.62, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.52% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #221F84 is Cyan = 0.74, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.48.
Color convert
| RGB | 34 | 31 | 132 | - |
| CMYK | 0.74 | 0.77 | 0 | 0.48 |
| HSL | 241.78º | 0.62% | 0.32% | - |
| HSV(B) | 241.78º | 0.77% | 0.52% | - |
| XYZ | 5.31 | 2.99 | 22.13 | - |
| YUV | 43.41 | 177.99 | 121.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 31 | 132 | 0.74 | 0.77 | 0 | 0.48 | 241.78 | 0.62 | 0.32 |
| Hex | 22 | 1F | 84 | 4A | 4D | 0 | 30 | F2 | 3E | 20 |
| Octal | 42 | 37 | 204 | 112 | 115 | 0 | 60 | 362 | 76 | 40 |
| Binary | 100010 | 11111 | 10000100 | 1001010 | 1001101 | 0 | 110000 | 11110010 | 111110 | 100000 |
Color Harmonies of #221F84
Complementary color
Monochromatic Colors of #221F84
Black with #221F84
Text Example
Text Example
White with #221F84
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221F84; }
p { color: rgb(34,31,132); }
H1.HeaderClassName
{
color: #221F84;
}
.AnyTagClassName
{
color: #221F84;
}
</style>
background-color css
<style>
a { background-color: #221F84; }
a { background-color: rgb(34,31,132); }
div.DivClassName
{
background-color: #221F84;
}
.BgClassName
{
background-color: #221F84;
}
</style>
border-color css
<style>
span { border-color: #221F84; }
span { border-color: rgb(34,31,132); }
td.TdClassName
{
border-color: #221F84;
}
.TagClassName
{
border-color: #221F84;
}
</style>