Shades of Midnight Blue #21287F
Tints of Midnight Blue #21287F
RGB
CMYK
RGB Variations
Color information
#21287F (or 0x21287F) is known color: Midnight Blue. HEX triplet: 21, 28 and 7F. RGB value is (33,40,127). Sum of RGB (Red+Green+Blue) = 33+40+127=200 (26% of max value = 765). Red value is 33 (13.28% from 255 or 16.5% from 200); Green value is 40 (16.02% from 255 or 20% from 200); Blue value is 127 (50% from 255 or 63.5% from 200); Max value from RGB is 127 - color contains mainly: blue. Hex color #21287F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21287F is #DED780. Grayscale: #2F2F2F. Windows color (decimal): -14604161 or 8333345. OLE color: 8333345.
HSL color Cylindrical-coordinate representation of color #21287F: hue angle of 235.53º degrees, saturation: 0.59, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #21287F is Cyan = 0.74, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 33 | 40 | 127 | - |
| CMYK | 0.74 | 0.69 | 0 | 0.50 |
| HSL | 235.53º | 0.59% | 0.31% | - |
| HSV(B) | 235.53º | 0.74% | 0.5% | - |
| XYZ | 5.22 | 3.37 | 20.45 | - |
| YUV | 47.83 | 172.68 | 117.43 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 40 | 127 | 0.74 | 0.69 | 0 | 0.50 | 235.53 | 0.59 | 0.31 |
| Hex | 21 | 28 | 7F | 4A | 45 | 0 | 32 | EC | 3B | 1F |
| Octal | 41 | 50 | 177 | 112 | 105 | 0 | 62 | 354 | 73 | 37 |
| Binary | 100001 | 101000 | 1111111 | 1001010 | 1000101 | 0 | 110010 | 11101100 | 111011 | 11111 |
Color Harmonies of #21287F
Complementary color
Monochromatic Colors of #21287F
Black with #21287F
Text Example
Text Example
White with #21287F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21287F; }
p { color: rgb(33,40,127); }
H1.HeaderClassName
{
color: #21287F;
}
.AnyTagClassName
{
color: #21287F;
}
</style>
background-color css
<style>
a { background-color: #21287F; }
a { background-color: rgb(33,40,127); }
div.DivClassName
{
background-color: #21287F;
}
.BgClassName
{
background-color: #21287F;
}
</style>
border-color css
<style>
span { border-color: #21287F; }
span { border-color: rgb(33,40,127); }
td.TdClassName
{
border-color: #21287F;
}
.TagClassName
{
border-color: #21287F;
}
</style>