Shades of Midnight Blue #21247E
Tints of Midnight Blue #21247E
RGB
CMYK
RGB Variations
Color information
#21247E (or 0x21247E) is known color: Midnight Blue. HEX triplet: 21, 24 and 7E. RGB value is (33,36,126). Sum of RGB (Red+Green+Blue) = 33+36+126=195 (25% of max value = 765). Red value is 33 (13.28% from 255 or 16.92% from 195); Green value is 36 (14.45% from 255 or 18.46% from 195); Blue value is 126 (49.61% from 255 or 64.62% from 195); Max value from RGB is 126 - color contains mainly: blue. Hex color #21247E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21247E is #DEDB81. Grayscale: #2D2D2D. Windows color (decimal): -14605186 or 8266785. OLE color: 8266785.
HSL color Cylindrical-coordinate representation of color #21247E: hue angle of 238.06º 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 #21247E is Cyan = 0.74, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 33 | 36 | 126 | - |
| CMYK | 0.74 | 0.71 | 0 | 0.51 |
| HSL | 238.06º | 0.58% | 0.31% | - |
| HSV(B) | 238.06º | 0.74% | 0.49% | - |
| XYZ | 5.02 | 3.09 | 20.07 | - |
| YUV | 45.36 | 173.51 | 119.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 36 | 126 | 0.74 | 0.71 | 0 | 0.51 | 238.06 | 0.58 | 0.31 |
| Hex | 21 | 24 | 7E | 4A | 47 | 0 | 33 | EE | 3A | 1F |
| Octal | 41 | 44 | 176 | 112 | 107 | 0 | 63 | 356 | 72 | 37 |
| Binary | 100001 | 100100 | 1111110 | 1001010 | 1000111 | 0 | 110011 | 11101110 | 111010 | 11111 |
Color Harmonies of #21247E
Complementary color
Monochromatic Colors of #21247E
Black with #21247E
Text Example
Text Example
White with #21247E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21247E; }
p { color: rgb(33,36,126); }
H1.HeaderClassName
{
color: #21247E;
}
.AnyTagClassName
{
color: #21247E;
}
</style>
background-color css
<style>
a { background-color: #21247E; }
a { background-color: rgb(33,36,126); }
div.DivClassName
{
background-color: #21247E;
}
.BgClassName
{
background-color: #21247E;
}
</style>
border-color css
<style>
span { border-color: #21247E; }
span { border-color: rgb(33,36,126); }
td.TdClassName
{
border-color: #21247E;
}
.TagClassName
{
border-color: #21247E;
}
</style>