Shades of Midnight Blue #21226D
Tints of Midnight Blue #21226D
RGB
CMYK
RGB Variations
Color information
#21226D (or 0x21226D) is known color: Midnight Blue. HEX triplet: 21, 22 and 6D. RGB value is (33,34,109). Sum of RGB (Red+Green+Blue) = 33+34+109=176 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.75% from 176); Green value is 34 (13.67% from 255 or 19.32% from 176); Blue value is 109 (42.97% from 255 or 61.93% from 176); Max value from RGB is 109 - color contains mainly: blue. Hex color #21226D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21226D is #DEDD92. Grayscale: #292929. Windows color (decimal): -14605715 or 7152161. OLE color: 7152161.
HSL color Cylindrical-coordinate representation of color #21226D: hue angle of 239.21º degrees, saturation: 0.54, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #21226D is Cyan = 0.70, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 33 | 34 | 109 | - |
| CMYK | 0.70 | 0.69 | 0 | 0.57 |
| HSL | 239.21º | 0.54% | 0.28% | - |
| HSV(B) | 239.21º | 0.7% | 0.43% | - |
| XYZ | 3.96 | 2.57 | 14.76 | - |
| YUV | 42.25 | 165.67 | 121.4 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 34 | 109 | 0.70 | 0.69 | 0 | 0.57 | 239.21 | 0.54 | 0.28 |
| Hex | 21 | 22 | 6D | 46 | 45 | 0 | 39 | EF | 36 | 1C |
| Octal | 41 | 42 | 155 | 106 | 105 | 0 | 71 | 357 | 66 | 34 |
| Binary | 100001 | 100010 | 1101101 | 1000110 | 1000101 | 0 | 111001 | 11101111 | 110110 | 11100 |
Color Harmonies of #21226D
Complementary color
Monochromatic Colors of #21226D
Black with #21226D
Text Example
Text Example
White with #21226D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21226D; }
p { color: rgb(33,34,109); }
H1.HeaderClassName
{
color: #21226D;
}
.AnyTagClassName
{
color: #21226D;
}
</style>
background-color css
<style>
a { background-color: #21226D; }
a { background-color: rgb(33,34,109); }
div.DivClassName
{
background-color: #21226D;
}
.BgClassName
{
background-color: #21226D;
}
</style>
border-color css
<style>
span { border-color: #21226D; }
span { border-color: rgb(33,34,109); }
td.TdClassName
{
border-color: #21226D;
}
.TagClassName
{
border-color: #21226D;
}
</style>