Shades of Midnight Blue #21288E
Tints of Midnight Blue #21288E
RGB
CMYK
RGB Variations
Color information
#21288E (or 0x21288E) is known color: Midnight Blue. HEX triplet: 21, 28 and 8E. RGB value is (33,40,142). Sum of RGB (Red+Green+Blue) = 33+40+142=215 (28% of max value = 765). Red value is 33 (13.28% from 255 or 15.35% from 215); Green value is 40 (16.02% from 255 or 18.60% from 215); Blue value is 142 (55.86% from 255 or 66.05% from 215); Max value from RGB is 142 - color contains mainly: blue. Hex color #21288E is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #21288E is #DED771. Grayscale: #313131. Windows color (decimal): -14604146 or 9316385. OLE color: 9316385.
HSL color Cylindrical-coordinate representation of color #21288E: hue angle of 236.15º degrees, saturation: 0.62, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.56% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #21288E is Cyan = 0.77, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.44.
Color convert
| RGB | 33 | 40 | 142 | - |
| CMYK | 0.77 | 0.72 | 0 | 0.44 |
| HSL | 236.15º | 0.62% | 0.34% | - |
| HSV(B) | 236.15º | 0.77% | 0.56% | - |
| XYZ | 6.27 | 3.79 | 25.99 | - |
| YUV | 49.54 | 180.18 | 116.21 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 40 | 142 | 0.77 | 0.72 | 0 | 0.44 | 236.15 | 0.62 | 0.34 |
| Hex | 21 | 28 | 8E | 4D | 48 | 0 | 2C | EC | 3E | 22 |
| Octal | 41 | 50 | 216 | 115 | 110 | 0 | 54 | 354 | 76 | 42 |
| Binary | 100001 | 101000 | 10001110 | 1001101 | 1001000 | 0 | 101100 | 11101100 | 111110 | 100010 |
Color Harmonies of #21288E
Complementary color
Monochromatic Colors of #21288E
Black with #21288E
Text Example
Text Example
White with #21288E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21288E; }
p { color: rgb(33,40,142); }
H1.HeaderClassName
{
color: #21288E;
}
.AnyTagClassName
{
color: #21288E;
}
</style>
background-color css
<style>
a { background-color: #21288E; }
a { background-color: rgb(33,40,142); }
div.DivClassName
{
background-color: #21288E;
}
.BgClassName
{
background-color: #21288E;
}
</style>
border-color css
<style>
span { border-color: #21288E; }
span { border-color: rgb(33,40,142); }
td.TdClassName
{
border-color: #21288E;
}
.TagClassName
{
border-color: #21288E;
}
</style>