Shades of Midnight Blue #21268B
Tints of Midnight Blue #21268B
RGB
CMYK
RGB Variations
Color information
#21268B (or 0x21268B) is known color: Midnight Blue. HEX triplet: 21, 26 and 8B. RGB value is (33,38,139). Sum of RGB (Red+Green+Blue) = 33+38+139=210 (27% of max value = 765). Red value is 33 (13.28% from 255 or 15.71% from 210); Green value is 38 (15.23% from 255 or 18.10% from 210); Blue value is 139 (54.69% from 255 or 66.19% from 210); Max value from RGB is 139 - color contains mainly: blue. Hex color #21268B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #21268B is #DED974. Grayscale: #2F2F2F. Windows color (decimal): -14604661 or 9119265. OLE color: 9119265.
HSL color Cylindrical-coordinate representation of color #21268B: hue angle of 237.17º 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 #21268B is Cyan = 0.76, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 33 | 38 | 139 | - |
| CMYK | 0.76 | 0.73 | 0 | 0.45 |
| HSL | 237.17º | 0.62% | 0.34% | - |
| HSV(B) | 237.17º | 0.76% | 0.55% | - |
| XYZ | 5.98 | 3.57 | 24.8 | - |
| YUV | 48.02 | 179.34 | 117.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 38 | 139 | 0.76 | 0.73 | 0 | 0.45 | 237.17 | 0.62 | 0.34 |
| Hex | 21 | 26 | 8B | 4C | 49 | 0 | 2D | ED | 3E | 22 |
| Octal | 41 | 46 | 213 | 114 | 111 | 0 | 55 | 355 | 76 | 42 |
| Binary | 100001 | 100110 | 10001011 | 1001100 | 1001001 | 0 | 101101 | 11101101 | 111110 | 100010 |
Color Harmonies of #21268B
Complementary color
Monochromatic Colors of #21268B
Black with #21268B
Text Example
Text Example
White with #21268B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21268B; }
p { color: rgb(33,38,139); }
H1.HeaderClassName
{
color: #21268B;
}
.AnyTagClassName
{
color: #21268B;
}
</style>
background-color css
<style>
a { background-color: #21268B; }
a { background-color: rgb(33,38,139); }
div.DivClassName
{
background-color: #21268B;
}
.BgClassName
{
background-color: #21268B;
}
</style>
border-color css
<style>
span { border-color: #21268B; }
span { border-color: rgb(33,38,139); }
td.TdClassName
{
border-color: #21268B;
}
.TagClassName
{
border-color: #21268B;
}
</style>