Shades of Midnight Blue #21267E
Tints of Midnight Blue #21267E
RGB
CMYK
RGB Variations
Color information
#21267E (or 0x21267E) is known color: Midnight Blue. HEX triplet: 21, 26 and 7E. RGB value is (33,38,126). Sum of RGB (Red+Green+Blue) = 33+38+126=197 (26% of max value = 765). Red value is 33 (13.28% from 255 or 16.75% from 197); Green value is 38 (15.23% from 255 or 19.29% from 197); Blue value is 126 (49.61% from 255 or 63.96% from 197); Max value from RGB is 126 - color contains mainly: blue. Hex color #21267E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21267E is #DED981. Grayscale: #2E2E2E. Windows color (decimal): -14604674 or 8267297. OLE color: 8267297.
HSL color Cylindrical-coordinate representation of color #21267E: hue angle of 236.77º degrees, saturation: 0.58, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #21267E is Cyan = 0.74, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 33 | 38 | 126 | - |
| CMYK | 0.74 | 0.70 | 0 | 0.51 |
| HSL | 236.77º | 0.58% | 0.31% | - |
| HSV(B) | 236.77º | 0.74% | 0.49% | - |
| XYZ | 5.09 | 3.22 | 20.09 | - |
| YUV | 46.54 | 172.84 | 118.34 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 38 | 126 | 0.74 | 0.70 | 0 | 0.51 | 236.77 | 0.58 | 0.31 |
| Hex | 21 | 26 | 7E | 4A | 46 | 0 | 33 | ED | 3A | 1F |
| Octal | 41 | 46 | 176 | 112 | 106 | 0 | 63 | 355 | 72 | 37 |
| Binary | 100001 | 100110 | 1111110 | 1001010 | 1000110 | 0 | 110011 | 11101101 | 111010 | 11111 |
Color Harmonies of #21267E
Complementary color
Monochromatic Colors of #21267E
Black with #21267E
Text Example
Text Example
White with #21267E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21267E; }
p { color: rgb(33,38,126); }
H1.HeaderClassName
{
color: #21267E;
}
.AnyTagClassName
{
color: #21267E;
}
</style>
background-color css
<style>
a { background-color: #21267E; }
a { background-color: rgb(33,38,126); }
div.DivClassName
{
background-color: #21267E;
}
.BgClassName
{
background-color: #21267E;
}
</style>
border-color css
<style>
span { border-color: #21267E; }
span { border-color: rgb(33,38,126); }
td.TdClassName
{
border-color: #21267E;
}
.TagClassName
{
border-color: #21267E;
}
</style>