Shades of Midnight Blue #21267F
Tints of Midnight Blue #21267F
RGB
CMYK
RGB Variations
Color information
#21267F (or 0x21267F) is known color: Midnight Blue. HEX triplet: 21, 26 and 7F. RGB value is (33,38,127). Sum of RGB (Red+Green+Blue) = 33+38+127=198 (26% of max value = 765). Red value is 33 (13.28% from 255 or 16.67% from 198); Green value is 38 (15.23% from 255 or 19.19% from 198); Blue value is 127 (50% from 255 or 64.14% from 198); Max value from RGB is 127 - color contains mainly: blue. Hex color #21267F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21267F is #DED980. Grayscale: #2E2E2E. Windows color (decimal): -14604673 or 8332833. OLE color: 8332833.
HSL color Cylindrical-coordinate representation of color #21267F: hue angle of 236.81º degrees, saturation: 0.59, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #21267F is Cyan = 0.74, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 33 | 38 | 127 | - |
| CMYK | 0.74 | 0.70 | 0 | 0.50 |
| HSL | 236.81º | 0.59% | 0.31% | - |
| HSV(B) | 236.81º | 0.74% | 0.5% | - |
| XYZ | 5.15 | 3.24 | 20.43 | - |
| YUV | 46.65 | 173.34 | 118.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 38 | 127 | 0.74 | 0.70 | 0 | 0.50 | 236.81 | 0.59 | 0.31 |
| Hex | 21 | 26 | 7F | 4A | 46 | 0 | 32 | ED | 3B | 1F |
| Octal | 41 | 46 | 177 | 112 | 106 | 0 | 62 | 355 | 73 | 37 |
| Binary | 100001 | 100110 | 1111111 | 1001010 | 1000110 | 0 | 110010 | 11101101 | 111011 | 11111 |
Color Harmonies of #21267F
Complementary color
Monochromatic Colors of #21267F
Black with #21267F
Text Example
Text Example
White with #21267F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21267F; }
p { color: rgb(33,38,127); }
H1.HeaderClassName
{
color: #21267F;
}
.AnyTagClassName
{
color: #21267F;
}
</style>
background-color css
<style>
a { background-color: #21267F; }
a { background-color: rgb(33,38,127); }
div.DivClassName
{
background-color: #21267F;
}
.BgClassName
{
background-color: #21267F;
}
</style>
border-color css
<style>
span { border-color: #21267F; }
span { border-color: rgb(33,38,127); }
td.TdClassName
{
border-color: #21267F;
}
.TagClassName
{
border-color: #21267F;
}
</style>