Shades of Midnight Blue #221F66
Tints of Midnight Blue #221F66
RGB
CMYK
RGB Variations
Color information
#221F66 (or 0x221F66) is known color: Midnight Blue. HEX triplet: 22, 1F and 66. RGB value is (34,31,102). Sum of RGB (Red+Green+Blue) = 34+31+102=167 (22% of max value = 765). Red value is 34 (13.67% from 255 or 20.36% from 167); Green value is 31 (12.5% from 255 or 18.56% from 167); Blue value is 102 (40.23% from 255 or 61.08% from 167); Max value from RGB is 102 - color contains mainly: blue. Hex color #221F66 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #221F66 is #DDE099. Grayscale: #272727. Windows color (decimal): -14540954 or 6692642. OLE color: 6692642.
HSL color Cylindrical-coordinate representation of color #221F66: hue angle of 242.54º degrees, saturation: 0.53, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #221F66 is Cyan = 0.67, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 34 | 31 | 102 | - |
| CMYK | 0.67 | 0.70 | 0 | 0.6 |
| HSL | 242.54º | 0.53% | 0.26% | - |
| HSV(B) | 242.54º | 0.7% | 0.4% | - |
| XYZ | 3.55 | 2.28 | 12.82 | - |
| YUV | 39.99 | 162.99 | 123.73 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 31 | 102 | 0.67 | 0.70 | 0 | 0.6 | 242.54 | 0.53 | 0.26 |
| Hex | 22 | 1F | 66 | 43 | 46 | 0 | 3C | F3 | 35 | 1A |
| Octal | 42 | 37 | 146 | 103 | 106 | 0 | 74 | 363 | 65 | 32 |
| Binary | 100010 | 11111 | 1100110 | 1000011 | 1000110 | 0 | 111100 | 11110011 | 110101 | 11010 |
Color Harmonies of #221F66
Complementary color
Monochromatic Colors of #221F66
Black with #221F66
Text Example
Text Example
White with #221F66
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221F66; }
p { color: rgb(34,31,102); }
H1.HeaderClassName
{
color: #221F66;
}
.AnyTagClassName
{
color: #221F66;
}
</style>
background-color css
<style>
a { background-color: #221F66; }
a { background-color: rgb(34,31,102); }
div.DivClassName
{
background-color: #221F66;
}
.BgClassName
{
background-color: #221F66;
}
</style>
border-color css
<style>
span { border-color: #221F66; }
span { border-color: rgb(34,31,102); }
td.TdClassName
{
border-color: #221F66;
}
.TagClassName
{
border-color: #221F66;
}
</style>