Shades of Midnight Blue #21187E
Tints of Midnight Blue #21187E
RGB
CMYK
RGB Variations
Color information
#21187E (or 0x21187E) is known color: Midnight Blue. HEX triplet: 21, 18 and 7E. RGB value is (33,24,126). Sum of RGB (Red+Green+Blue) = 33+24+126=183 (24% of max value = 765). Red value is 33 (13.28% from 255 or 18.03% from 183); Green value is 24 (9.77% from 255 or 13.11% from 183); Blue value is 126 (49.61% from 255 or 68.85% from 183); Max value from RGB is 126 - color contains mainly: blue. Hex color #21187E is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21187E is #DEE781. Grayscale: #252525. Windows color (decimal): -14608258 or 8263713. OLE color: 8263713.
HSL color Cylindrical-coordinate representation of color #21187E: hue angle of 245.29º degrees, saturation: 0.68, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #21187E is Cyan = 0.74, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 33 | 24 | 126 | - |
| CMYK | 0.74 | 0.81 | 0 | 0.51 |
| HSL | 245.29º | 0.68% | 0.29% | - |
| HSV(B) | 245.29º | 0.81% | 0.49% | - |
| XYZ | 4.72 | 2.48 | 19.97 | - |
| YUV | 38.32 | 177.48 | 124.21 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 24 | 126 | 0.74 | 0.81 | 0 | 0.51 | 245.29 | 0.68 | 0.29 |
| Hex | 21 | 18 | 7E | 4A | 51 | 0 | 33 | F5 | 44 | 1D |
| Octal | 41 | 30 | 176 | 112 | 121 | 0 | 63 | 365 | 104 | 35 |
| Binary | 100001 | 11000 | 1111110 | 1001010 | 1010001 | 0 | 110011 | 11110101 | 1000100 | 11101 |
Color Harmonies of #21187E
Complementary color
Monochromatic Colors of #21187E
Black with #21187E
Text Example
Text Example
White with #21187E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21187E; }
p { color: rgb(33,24,126); }
H1.HeaderClassName
{
color: #21187E;
}
.AnyTagClassName
{
color: #21187E;
}
</style>
background-color css
<style>
a { background-color: #21187E; }
a { background-color: rgb(33,24,126); }
div.DivClassName
{
background-color: #21187E;
}
.BgClassName
{
background-color: #21187E;
}
</style>
border-color css
<style>
span { border-color: #21187E; }
span { border-color: rgb(33,24,126); }
td.TdClassName
{
border-color: #21187E;
}
.TagClassName
{
border-color: #21187E;
}
</style>