Shades of Midnight Blue #21278D
Tints of Midnight Blue #21278D
RGB
CMYK
RGB Variations
Color information
#21278D (or 0x21278D) is known color: Midnight Blue. HEX triplet: 21, 27 and 8D. RGB value is (33,39,141). Sum of RGB (Red+Green+Blue) = 33+39+141=213 (28% of max value = 765). Red value is 33 (13.28% from 255 or 15.49% from 213); Green value is 39 (15.62% from 255 or 18.31% from 213); Blue value is 141 (55.47% from 255 or 66.20% from 213); Max value from RGB is 141 - color contains mainly: blue. Hex color #21278D is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #21278D is #DED872. Grayscale: #303030. Windows color (decimal): -14604403 or 9250593. OLE color: 9250593.
HSL color Cylindrical-coordinate representation of color #21278D: hue angle of 236.67º degrees, saturation: 0.62, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #21278D is Cyan = 0.77, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 33 | 39 | 141 | - |
| CMYK | 0.77 | 0.72 | 0 | 0.45 |
| HSL | 236.67º | 0.62% | 0.34% | - |
| HSV(B) | 236.67º | 0.77% | 0.55% | - |
| XYZ | 6.16 | 3.7 | 25.59 | - |
| YUV | 48.83 | 180.01 | 116.71 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 39 | 141 | 0.77 | 0.72 | 0 | 0.45 | 236.67 | 0.62 | 0.34 |
| Hex | 21 | 27 | 8D | 4D | 48 | 0 | 2D | ED | 3E | 22 |
| Octal | 41 | 47 | 215 | 115 | 110 | 0 | 55 | 355 | 76 | 42 |
| Binary | 100001 | 100111 | 10001101 | 1001101 | 1001000 | 0 | 101101 | 11101101 | 111110 | 100010 |
Color Harmonies of #21278D
Complementary color
Monochromatic Colors of #21278D
Black with #21278D
Text Example
Text Example
White with #21278D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21278D; }
p { color: rgb(33,39,141); }
H1.HeaderClassName
{
color: #21278D;
}
.AnyTagClassName
{
color: #21278D;
}
</style>
background-color css
<style>
a { background-color: #21278D; }
a { background-color: rgb(33,39,141); }
div.DivClassName
{
background-color: #21278D;
}
.BgClassName
{
background-color: #21278D;
}
</style>
border-color css
<style>
span { border-color: #21278D; }
span { border-color: rgb(33,39,141); }
td.TdClassName
{
border-color: #21278D;
}
.TagClassName
{
border-color: #21278D;
}
</style>