Shades of Midnight Blue #21276D
Tints of Midnight Blue #21276D
RGB
CMYK
RGB Variations
Color information
#21276D (or 0x21276D) is known color: Midnight Blue. HEX triplet: 21, 27 and 6D. RGB value is (33,39,109). Sum of RGB (Red+Green+Blue) = 33+39+109=181 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.23% from 181); Green value is 39 (15.62% from 255 or 21.55% from 181); Blue value is 109 (42.97% from 255 or 60.22% from 181); Max value from RGB is 109 - color contains mainly: blue. Hex color #21276D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21276D is #DED892. Grayscale: #2C2C2C. Windows color (decimal): -14604435 or 7153441. OLE color: 7153441.
HSL color Cylindrical-coordinate representation of color #21276D: hue angle of 235.26º 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 #21276D is Cyan = 0.70, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 33 | 39 | 109 | - |
| CMYK | 0.70 | 0.64 | 0 | 0.57 |
| HSL | 235.26º | 0.54% | 0.28% | - |
| HSV(B) | 235.26º | 0.7% | 0.43% | - |
| XYZ | 4.11 | 2.88 | 14.81 | - |
| YUV | 45.19 | 164.01 | 119.31 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 39 | 109 | 0.70 | 0.64 | 0 | 0.57 | 235.26 | 0.54 | 0.28 |
| Hex | 21 | 27 | 6D | 46 | 40 | 0 | 39 | EB | 36 | 1C |
| Octal | 41 | 47 | 155 | 106 | 100 | 0 | 71 | 353 | 66 | 34 |
| Binary | 100001 | 100111 | 1101101 | 1000110 | 1000000 | 0 | 111001 | 11101011 | 110110 | 11100 |
Color Harmonies of #21276D
Complementary color
Monochromatic Colors of #21276D
Black with #21276D
Text Example
Text Example
White with #21276D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21276D; }
p { color: rgb(33,39,109); }
H1.HeaderClassName
{
color: #21276D;
}
.AnyTagClassName
{
color: #21276D;
}
</style>
background-color css
<style>
a { background-color: #21276D; }
a { background-color: rgb(33,39,109); }
div.DivClassName
{
background-color: #21276D;
}
.BgClassName
{
background-color: #21276D;
}
</style>
border-color css
<style>
span { border-color: #21276D; }
span { border-color: rgb(33,39,109); }
td.TdClassName
{
border-color: #21276D;
}
.TagClassName
{
border-color: #21276D;
}
</style>