Shades of Midnight Blue #21288C
Tints of Midnight Blue #21288C
RGB
CMYK
RGB Variations
Color information
#21288C (or 0x21288C) is known color: Midnight Blue. HEX triplet: 21, 28 and 8C. RGB value is (33,40,140). Sum of RGB (Red+Green+Blue) = 33+40+140=213 (28% of max value = 765). Red value is 33 (13.28% from 255 or 15.49% from 213); Green value is 40 (16.02% from 255 or 18.78% from 213); Blue value is 140 (55.08% from 255 or 65.73% from 213); Max value from RGB is 140 - color contains mainly: blue. Hex color #21288C is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #21288C is #DED773. Grayscale: #303030. Windows color (decimal): -14604148 or 9185313. OLE color: 9185313.
HSL color Cylindrical-coordinate representation of color #21288C: hue angle of 236.07º 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 #21288C is Cyan = 0.76, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 33 | 40 | 140 | - |
| CMYK | 0.76 | 0.71 | 0 | 0.45 |
| HSL | 236.07º | 0.62% | 0.34% | - |
| HSV(B) | 236.07º | 0.76% | 0.55% | - |
| XYZ | 6.12 | 3.73 | 25.21 | - |
| YUV | 49.31 | 179.18 | 116.37 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 40 | 140 | 0.76 | 0.71 | 0 | 0.45 | 236.07 | 0.62 | 0.34 |
| Hex | 21 | 28 | 8C | 4C | 47 | 0 | 2D | EC | 3E | 22 |
| Octal | 41 | 50 | 214 | 114 | 107 | 0 | 55 | 354 | 76 | 42 |
| Binary | 100001 | 101000 | 10001100 | 1001100 | 1000111 | 0 | 101101 | 11101100 | 111110 | 100010 |
Color Harmonies of #21288C
Complementary color
Monochromatic Colors of #21288C
Black with #21288C
Text Example
Text Example
White with #21288C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21288C; }
p { color: rgb(33,40,140); }
H1.HeaderClassName
{
color: #21288C;
}
.AnyTagClassName
{
color: #21288C;
}
</style>
background-color css
<style>
a { background-color: #21288C; }
a { background-color: rgb(33,40,140); }
div.DivClassName
{
background-color: #21288C;
}
.BgClassName
{
background-color: #21288C;
}
</style>
border-color css
<style>
span { border-color: #21288C; }
span { border-color: rgb(33,40,140); }
td.TdClassName
{
border-color: #21288C;
}
.TagClassName
{
border-color: #21288C;
}
</style>