Shades of Midnight Blue #221F81
Tints of Midnight Blue #221F81
RGB
CMYK
RGB Variations
Color information
#221F81 (or 0x221F81) is known color: Midnight Blue. HEX triplet: 22, 1F and 81. RGB value is (34,31,129). Sum of RGB (Red+Green+Blue) = 34+31+129=194 (25% of max value = 765). Red value is 34 (13.67% from 255 or 17.53% from 194); Green value is 31 (12.5% from 255 or 15.98% from 194); Blue value is 129 (50.78% from 255 or 66.49% from 194); Max value from RGB is 129 - color contains mainly: blue. Hex color #221F81 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #221F81 is #DDE07E. Grayscale: #2A2A2A. Windows color (decimal): -14540927 or 8462114. OLE color: 8462114.
HSL color Cylindrical-coordinate representation of color #221F81: hue angle of 241.84º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #221F81 is Cyan = 0.74, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 34 | 31 | 129 | - |
| CMYK | 0.74 | 0.76 | 0 | 0.49 |
| HSL | 241.84º | 0.61% | 0.31% | - |
| HSV(B) | 241.84º | 0.76% | 0.51% | - |
| XYZ | 5.11 | 2.91 | 21.06 | - |
| YUV | 43.07 | 176.49 | 121.53 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 31 | 129 | 0.74 | 0.76 | 0 | 0.49 | 241.84 | 0.61 | 0.31 |
| Hex | 22 | 1F | 81 | 4A | 4C | 0 | 31 | F2 | 3D | 1F |
| Octal | 42 | 37 | 201 | 112 | 114 | 0 | 61 | 362 | 75 | 37 |
| Binary | 100010 | 11111 | 10000001 | 1001010 | 1001100 | 0 | 110001 | 11110010 | 111101 | 11111 |
Color Harmonies of #221F81
Complementary color
Monochromatic Colors of #221F81
Black with #221F81
Text Example
Text Example
White with #221F81
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221F81; }
p { color: rgb(34,31,129); }
H1.HeaderClassName
{
color: #221F81;
}
.AnyTagClassName
{
color: #221F81;
}
</style>
background-color css
<style>
a { background-color: #221F81; }
a { background-color: rgb(34,31,129); }
div.DivClassName
{
background-color: #221F81;
}
.BgClassName
{
background-color: #221F81;
}
</style>
border-color css
<style>
span { border-color: #221F81; }
span { border-color: rgb(34,31,129); }
td.TdClassName
{
border-color: #221F81;
}
.TagClassName
{
border-color: #221F81;
}
</style>