Shades of Midnight Blue #221B62
Tints of Midnight Blue #221B62
RGB
CMYK
RGB Variations
Color information
#221B62 (or 0x221B62) is known color: Midnight Blue. HEX triplet: 22, 1B and 62. RGB value is (34,27,98). Sum of RGB (Red+Green+Blue) = 34+27+98=159 (21% of max value = 765). Red value is 34 (13.67% from 255 or 21.38% from 159); Green value is 27 (10.94% from 255 or 16.98% from 159); Blue value is 98 (38.67% from 255 or 61.64% from 159); Max value from RGB is 98 - color contains mainly: blue. Hex color #221B62 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #221B62 is #DDE49D. Grayscale: #242424. Windows color (decimal): -14541982 or 6429474. OLE color: 6429474.
HSL color Cylindrical-coordinate representation of color #221B62: hue angle of 245.92º degrees, saturation: 0.57, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.38% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #221B62 is Cyan = 0.65, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.62.
Color convert
| RGB | 34 | 27 | 98 | - |
| CMYK | 0.65 | 0.72 | 0 | 0.62 |
| HSL | 245.92º | 0.57% | 0.25% | - |
| HSV(B) | 245.92º | 0.72% | 0.38% | - |
| XYZ | 3.26 | 2.01 | 11.77 | - |
| YUV | 37.19 | 162.32 | 125.73 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 27 | 98 | 0.65 | 0.72 | 0 | 0.62 | 245.92 | 0.57 | 0.25 |
| Hex | 22 | 1B | 62 | 41 | 48 | 0 | 3E | F6 | 39 | 19 |
| Octal | 42 | 33 | 142 | 101 | 110 | 0 | 76 | 366 | 71 | 31 |
| Binary | 100010 | 11011 | 1100010 | 1000001 | 1001000 | 0 | 111110 | 11110110 | 111001 | 11001 |
Color Harmonies of #221B62
Complementary color
Monochromatic Colors of #221B62
Black with #221B62
Text Example
Text Example
White with #221B62
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221B62; }
p { color: rgb(34,27,98); }
H1.HeaderClassName
{
color: #221B62;
}
.AnyTagClassName
{
color: #221B62;
}
</style>
background-color css
<style>
a { background-color: #221B62; }
a { background-color: rgb(34,27,98); }
div.DivClassName
{
background-color: #221B62;
}
.BgClassName
{
background-color: #221B62;
}
</style>
border-color css
<style>
span { border-color: #221B62; }
span { border-color: rgb(34,27,98); }
td.TdClassName
{
border-color: #221B62;
}
.TagClassName
{
border-color: #221B62;
}
</style>