Shades of Midnight Blue #21286D
Tints of Midnight Blue #21286D
RGB
CMYK
RGB Variations
Color information
#21286D (or 0x21286D) is known color: Midnight Blue. HEX triplet: 21, 28 and 6D. RGB value is (33,40,109). Sum of RGB (Red+Green+Blue) = 33+40+109=182 (24% of max value = 765). Red value is 33 (13.28% from 255 or 18.13% from 182); Green value is 40 (16.02% from 255 or 21.98% from 182); Blue value is 109 (42.97% from 255 or 59.89% from 182); Max value from RGB is 109 - color contains mainly: blue. Hex color #21286D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21286D is #DED792. Grayscale: #2D2D2D. Windows color (decimal): -14604179 or 7153697. OLE color: 7153697.
HSL color Cylindrical-coordinate representation of color #21286D: hue angle of 234.47º 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 #21286D is Cyan = 0.70, Magento = 0.63, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 33 | 40 | 109 | - |
| CMYK | 0.70 | 0.63 | 0 | 0.57 |
| HSL | 234.47º | 0.54% | 0.28% | - |
| HSV(B) | 234.47º | 0.7% | 0.43% | - |
| XYZ | 4.15 | 2.95 | 14.82 | - |
| YUV | 45.77 | 163.68 | 118.89 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 40 | 109 | 0.70 | 0.63 | 0 | 0.57 | 234.47 | 0.54 | 0.28 |
| Hex | 21 | 28 | 6D | 46 | 3F | 0 | 39 | EA | 36 | 1C |
| Octal | 41 | 50 | 155 | 106 | 77 | 0 | 71 | 352 | 66 | 34 |
| Binary | 100001 | 101000 | 1101101 | 1000110 | 111111 | 0 | 111001 | 11101010 | 110110 | 11100 |
Color Harmonies of #21286D
Complementary color
Monochromatic Colors of #21286D
Black with #21286D
Text Example
Text Example
White with #21286D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21286D; }
p { color: rgb(33,40,109); }
H1.HeaderClassName
{
color: #21286D;
}
.AnyTagClassName
{
color: #21286D;
}
</style>
background-color css
<style>
a { background-color: #21286D; }
a { background-color: rgb(33,40,109); }
div.DivClassName
{
background-color: #21286D;
}
.BgClassName
{
background-color: #21286D;
}
</style>
border-color css
<style>
span { border-color: #21286D; }
span { border-color: rgb(33,40,109); }
td.TdClassName
{
border-color: #21286D;
}
.TagClassName
{
border-color: #21286D;
}
</style>