Shades of Midnight Blue #212478
Tints of Midnight Blue #212478
RGB
CMYK
RGB Variations
Color information
#212478 (or 0x212478) is known color: Midnight Blue. HEX triplet: 21, 24 and 78. RGB value is (33,36,120). Sum of RGB (Red+Green+Blue) = 33+36+120=189 (25% of max value = 765). Red value is 33 (13.28% from 255 or 17.46% from 189); Green value is 36 (14.45% from 255 or 19.05% from 189); Blue value is 120 (47.27% from 255 or 63.49% from 189); Max value from RGB is 120 - color contains mainly: blue. Hex color #212478 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #212478 is #DEDB87. Grayscale: #2C2C2C. Windows color (decimal): -14605192 or 7873569. OLE color: 7873569.
HSL color Cylindrical-coordinate representation of color #212478: hue angle of 237.93º degrees, saturation: 0.57, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #212478 is Cyan = 0.72, Magento = 0.7, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 33 | 36 | 120 | - |
| CMYK | 0.72 | 0.7 | 0 | 0.53 |
| HSL | 237.93º | 0.57% | 0.3% | - |
| HSV(B) | 237.93º | 0.73% | 0.47% | - |
| XYZ | 4.65 | 2.94 | 18.09 | - |
| YUV | 44.68 | 170.51 | 119.67 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 36 | 120 | 0.72 | 0.7 | 0 | 0.53 | 237.93 | 0.57 | 0.3 |
| Hex | 21 | 24 | 78 | 48 | 46 | 0 | 35 | EE | 39 | 1E |
| Octal | 41 | 44 | 170 | 110 | 106 | 0 | 65 | 356 | 71 | 36 |
| Binary | 100001 | 100100 | 1111000 | 1001000 | 1000110 | 0 | 110101 | 11101110 | 111001 | 11110 |
Color Harmonies of #212478
Complementary color
Monochromatic Colors of #212478
Black with #212478
Text Example
Text Example
White with #212478
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212478; }
p { color: rgb(33,36,120); }
H1.HeaderClassName
{
color: #212478;
}
.AnyTagClassName
{
color: #212478;
}
</style>
background-color css
<style>
a { background-color: #212478; }
a { background-color: rgb(33,36,120); }
div.DivClassName
{
background-color: #212478;
}
.BgClassName
{
background-color: #212478;
}
</style>
border-color css
<style>
span { border-color: #212478; }
span { border-color: rgb(33,36,120); }
td.TdClassName
{
border-color: #212478;
}
.TagClassName
{
border-color: #212478;
}
</style>