Shades of Midnight Blue #21267D
Tints of Midnight Blue #21267D
RGB
CMYK
RGB Variations
Color information
#21267D (or 0x21267D) is known color: Midnight Blue. HEX triplet: 21, 26 and 7D. RGB value is (33,38,125). Sum of RGB (Red+Green+Blue) = 33+38+125=196 (25% of max value = 765). Red value is 33 (13.28% from 255 or 16.84% from 196); Green value is 38 (15.23% from 255 or 19.39% from 196); Blue value is 125 (49.22% from 255 or 63.78% from 196); Max value from RGB is 125 - color contains mainly: blue. Hex color #21267D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21267D is #DED982. Grayscale: #2E2E2E. Windows color (decimal): -14604675 or 8201761. OLE color: 8201761.
HSL color Cylindrical-coordinate representation of color #21267D: hue angle of 236.74º 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 #21267D is Cyan = 0.74, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 33 | 38 | 125 | - |
| CMYK | 0.74 | 0.70 | 0 | 0.51 |
| HSL | 236.74º | 0.58% | 0.31% | - |
| HSV(B) | 236.74º | 0.74% | 0.49% | - |
| XYZ | 5.02 | 3.19 | 19.75 | - |
| YUV | 46.42 | 172.34 | 118.43 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 38 | 125 | 0.74 | 0.70 | 0 | 0.51 | 236.74 | 0.58 | 0.31 |
| Hex | 21 | 26 | 7D | 4A | 46 | 0 | 33 | ED | 3A | 1F |
| Octal | 41 | 46 | 175 | 112 | 106 | 0 | 63 | 355 | 72 | 37 |
| Binary | 100001 | 100110 | 1111101 | 1001010 | 1000110 | 0 | 110011 | 11101101 | 111010 | 11111 |
Color Harmonies of #21267D
Complementary color
Monochromatic Colors of #21267D
Black with #21267D
Text Example
Text Example
White with #21267D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21267D; }
p { color: rgb(33,38,125); }
H1.HeaderClassName
{
color: #21267D;
}
.AnyTagClassName
{
color: #21267D;
}
</style>
background-color css
<style>
a { background-color: #21267D; }
a { background-color: rgb(33,38,125); }
div.DivClassName
{
background-color: #21267D;
}
.BgClassName
{
background-color: #21267D;
}
</style>
border-color css
<style>
span { border-color: #21267D; }
span { border-color: rgb(33,38,125); }
td.TdClassName
{
border-color: #21267D;
}
.TagClassName
{
border-color: #21267D;
}
</style>