Shades of Midnight Blue #21266D
Tints of Midnight Blue #21266D
RGB
CMYK
RGB Variations
Color information
#21266D (or 0x21266D) is known color: Midnight Blue. HEX triplet: 21, 26 and 6D. RGB value is (33,38,109). Sum of RGB (Red+Green+Blue) = 33+38+109=180 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.33% from 180); Green value is 38 (15.23% from 255 or 21.11% from 180); Blue value is 109 (42.97% from 255 or 60.56% from 180); Max value from RGB is 109 - color contains mainly: blue. Hex color #21266D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21266D is #DED992. Grayscale: #2C2C2C. Windows color (decimal): -14604691 or 7153185. OLE color: 7153185.
HSL color Cylindrical-coordinate representation of color #21266D: hue angle of 236.05º 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 #21266D is Cyan = 0.70, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 33 | 38 | 109 | - |
| CMYK | 0.70 | 0.65 | 0 | 0.57 |
| HSL | 236.05º | 0.54% | 0.28% | - |
| HSV(B) | 236.05º | 0.7% | 0.43% | - |
| XYZ | 4.08 | 2.81 | 14.8 | - |
| YUV | 44.6 | 164.34 | 119.73 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 38 | 109 | 0.70 | 0.65 | 0 | 0.57 | 236.05 | 0.54 | 0.28 |
| Hex | 21 | 26 | 6D | 46 | 41 | 0 | 39 | EC | 36 | 1C |
| Octal | 41 | 46 | 155 | 106 | 101 | 0 | 71 | 354 | 66 | 34 |
| Binary | 100001 | 100110 | 1101101 | 1000110 | 1000001 | 0 | 111001 | 11101100 | 110110 | 11100 |
Color Harmonies of #21266D
Complementary color
Monochromatic Colors of #21266D
Black with #21266D
Text Example
Text Example
White with #21266D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21266D; }
p { color: rgb(33,38,109); }
H1.HeaderClassName
{
color: #21266D;
}
.AnyTagClassName
{
color: #21266D;
}
</style>
background-color css
<style>
a { background-color: #21266D; }
a { background-color: rgb(33,38,109); }
div.DivClassName
{
background-color: #21266D;
}
.BgClassName
{
background-color: #21266D;
}
</style>
border-color css
<style>
span { border-color: #21266D; }
span { border-color: rgb(33,38,109); }
td.TdClassName
{
border-color: #21266D;
}
.TagClassName
{
border-color: #21266D;
}
</style>