Shades of Midnight Blue #21248B
Tints of Midnight Blue #21248B
RGB
CMYK
RGB Variations
Color information
#21248B (or 0x21248B) is known color: Midnight Blue. HEX triplet: 21, 24 and 8B. RGB value is (33,36,139). Sum of RGB (Red+Green+Blue) = 33+36+139=208 (27% of max value = 765). Red value is 33 (13.28% from 255 or 15.87% from 208); Green value is 36 (14.45% from 255 or 17.31% from 208); Blue value is 139 (54.69% from 255 or 66.83% from 208); Max value from RGB is 139 - color contains mainly: blue. Hex color #21248B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #21248B is #DEDB74. Grayscale: #2E2E2E. Windows color (decimal): -14605173 or 9118753. OLE color: 9118753.
HSL color Cylindrical-coordinate representation of color #21248B: hue angle of 238.3º degrees, saturation: 0.62, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #21248B is Cyan = 0.76, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 33 | 36 | 139 | - |
| CMYK | 0.76 | 0.74 | 0 | 0.45 |
| HSL | 238.3º | 0.62% | 0.34% | - |
| HSV(B) | 238.3º | 0.76% | 0.55% | - |
| XYZ | 5.92 | 3.45 | 24.78 | - |
| YUV | 46.85 | 180.01 | 118.12 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 36 | 139 | 0.76 | 0.74 | 0 | 0.45 | 238.3 | 0.62 | 0.34 |
| Hex | 21 | 24 | 8B | 4C | 4A | 0 | 2D | EE | 3E | 22 |
| Octal | 41 | 44 | 213 | 114 | 112 | 0 | 55 | 356 | 76 | 42 |
| Binary | 100001 | 100100 | 10001011 | 1001100 | 1001010 | 0 | 101101 | 11101110 | 111110 | 100010 |
Color Harmonies of #21248B
Complementary color
Monochromatic Colors of #21248B
Black with #21248B
Text Example
Text Example
White with #21248B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21248B; }
p { color: rgb(33,36,139); }
H1.HeaderClassName
{
color: #21248B;
}
.AnyTagClassName
{
color: #21248B;
}
</style>
background-color css
<style>
a { background-color: #21248B; }
a { background-color: rgb(33,36,139); }
div.DivClassName
{
background-color: #21248B;
}
.BgClassName
{
background-color: #21248B;
}
</style>
border-color css
<style>
span { border-color: #21248B; }
span { border-color: rgb(33,36,139); }
td.TdClassName
{
border-color: #21248B;
}
.TagClassName
{
border-color: #21248B;
}
</style>