Shades of Midnight Blue #21246D
Tints of Midnight Blue #21246D
RGB
CMYK
RGB Variations
Color information
#21246D (or 0x21246D) is known color: Midnight Blue. HEX triplet: 21, 24 and 6D. RGB value is (33,36,109). Sum of RGB (Red+Green+Blue) = 33+36+109=178 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.54% from 178); Green value is 36 (14.45% from 255 or 20.22% from 178); Blue value is 109 (42.97% from 255 or 61.24% from 178); Max value from RGB is 109 - color contains mainly: blue. Hex color #21246D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21246D is #DEDB92. Grayscale: #2B2B2B. Windows color (decimal): -14605203 or 7152673. OLE color: 7152673.
HSL color Cylindrical-coordinate representation of color #21246D: hue angle of 237.63º degrees, saturation: 0.54, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #21246D is Cyan = 0.70, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 33 | 36 | 109 | - |
| CMYK | 0.70 | 0.67 | 0 | 0.57 |
| HSL | 237.63º | 0.54% | 0.28% | - |
| HSV(B) | 237.63º | 0.7% | 0.43% | - |
| XYZ | 4.02 | 2.69 | 14.78 | - |
| YUV | 43.43 | 165.01 | 120.56 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 36 | 109 | 0.70 | 0.67 | 0 | 0.57 | 237.63 | 0.54 | 0.28 |
| Hex | 21 | 24 | 6D | 46 | 43 | 0 | 39 | EE | 36 | 1C |
| Octal | 41 | 44 | 155 | 106 | 103 | 0 | 71 | 356 | 66 | 34 |
| Binary | 100001 | 100100 | 1101101 | 1000110 | 1000011 | 0 | 111001 | 11101110 | 110110 | 11100 |
Color Harmonies of #21246D
Complementary color
Monochromatic Colors of #21246D
Black with #21246D
Text Example
Text Example
White with #21246D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21246D; }
p { color: rgb(33,36,109); }
H1.HeaderClassName
{
color: #21246D;
}
.AnyTagClassName
{
color: #21246D;
}
</style>
background-color css
<style>
a { background-color: #21246D; }
a { background-color: rgb(33,36,109); }
div.DivClassName
{
background-color: #21246D;
}
.BgClassName
{
background-color: #21246D;
}
</style>
border-color css
<style>
span { border-color: #21246D; }
span { border-color: rgb(33,36,109); }
td.TdClassName
{
border-color: #21246D;
}
.TagClassName
{
border-color: #21246D;
}
</style>