Shades of Midnight Blue #21127B
Tints of Midnight Blue #21127B
RGB
CMYK
RGB Variations
Color information
#21127B (or 0x21127B) is known color: Midnight Blue. HEX triplet: 21, 12 and 7B. RGB value is (33,18,123). Sum of RGB (Red+Green+Blue) = 33+18+123=174 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.97% from 174); Green value is 18 (7.42% from 255 or 10.34% from 174); Blue value is 123 (48.44% from 255 or 70.69% from 174); Max value from RGB is 123 - color contains mainly: blue. Hex color #21127B is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21127B is #DEED84. Grayscale: #222222. Windows color (decimal): -14609797 or 8065569. OLE color: 8065569.
HSL color Cylindrical-coordinate representation of color #21127B: hue angle of 248.57º degrees, saturation: 0.74, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #21127B is Cyan = 0.73, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 33 | 18 | 123 | - |
| CMYK | 0.73 | 0.85 | 0 | 0.52 |
| HSL | 248.57º | 0.74% | 0.28% | - |
| HSV(B) | 248.57º | 0.85% | 0.48% | - |
| XYZ | 4.42 | 2.19 | 18.93 | - |
| YUV | 34.46 | 177.97 | 126.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 18 | 123 | 0.73 | 0.85 | 0 | 0.52 | 248.57 | 0.74 | 0.28 |
| Hex | 21 | 12 | 7B | 49 | 55 | 0 | 34 | F9 | 4A | 1C |
| Octal | 41 | 22 | 173 | 111 | 125 | 0 | 64 | 371 | 112 | 34 |
| Binary | 100001 | 10010 | 1111011 | 1001001 | 1010101 | 0 | 110100 | 11111001 | 1001010 | 11100 |
Color Harmonies of #21127B
Complementary color
Monochromatic Colors of #21127B
Black with #21127B
Text Example
Text Example
White with #21127B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21127B; }
p { color: rgb(33,18,123); }
H1.HeaderClassName
{
color: #21127B;
}
.AnyTagClassName
{
color: #21127B;
}
</style>
background-color css
<style>
a { background-color: #21127B; }
a { background-color: rgb(33,18,123); }
div.DivClassName
{
background-color: #21127B;
}
.BgClassName
{
background-color: #21127B;
}
</style>
border-color css
<style>
span { border-color: #21127B; }
span { border-color: rgb(33,18,123); }
td.TdClassName
{
border-color: #21127B;
}
.TagClassName
{
border-color: #21127B;
}
</style>