Shades of Midnight Blue #21287B
Tints of Midnight Blue #21287B
RGB
CMYK
RGB Variations
Color information
#21287B (or 0x21287B) is known color: Midnight Blue. HEX triplet: 21, 28 and 7B. RGB value is (33,40,123). Sum of RGB (Red+Green+Blue) = 33+40+123=196 (25% of max value = 765). Red value is 33 (13.28% from 255 or 16.84% from 196); Green value is 40 (16.02% from 255 or 20.41% from 196); Blue value is 123 (48.44% from 255 or 62.76% from 196); Max value from RGB is 123 - color contains mainly: blue. Hex color #21287B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21287B is #DED784. Grayscale: #2F2F2F. Windows color (decimal): -14604165 or 8071201. OLE color: 8071201.
HSL color Cylindrical-coordinate representation of color #21287B: hue angle of 235.33º degrees, saturation: 0.58, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #21287B is Cyan = 0.73, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 33 | 40 | 123 | - |
| CMYK | 0.73 | 0.67 | 0 | 0.52 |
| HSL | 235.33º | 0.58% | 0.31% | - |
| HSV(B) | 235.33º | 0.73% | 0.48% | - |
| XYZ | 4.96 | 3.27 | 19.11 | - |
| YUV | 47.37 | 170.68 | 117.75 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 40 | 123 | 0.73 | 0.67 | 0 | 0.52 | 235.33 | 0.58 | 0.31 |
| Hex | 21 | 28 | 7B | 49 | 43 | 0 | 34 | EB | 3A | 1F |
| Octal | 41 | 50 | 173 | 111 | 103 | 0 | 64 | 353 | 72 | 37 |
| Binary | 100001 | 101000 | 1111011 | 1001001 | 1000011 | 0 | 110100 | 11101011 | 111010 | 11111 |
Color Harmonies of #21287B
Complementary color
Monochromatic Colors of #21287B
Black with #21287B
Text Example
Text Example
White with #21287B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21287B; }
p { color: rgb(33,40,123); }
H1.HeaderClassName
{
color: #21287B;
}
.AnyTagClassName
{
color: #21287B;
}
</style>
background-color css
<style>
a { background-color: #21287B; }
a { background-color: rgb(33,40,123); }
div.DivClassName
{
background-color: #21287B;
}
.BgClassName
{
background-color: #21287B;
}
</style>
border-color css
<style>
span { border-color: #21287B; }
span { border-color: rgb(33,40,123); }
td.TdClassName
{
border-color: #21287B;
}
.TagClassName
{
border-color: #21287B;
}
</style>