Shades of Midnight Blue #282271
Tints of Midnight Blue #282271
RGB
CMYK
RGB Variations
Color information
#282271 (or 0x282271) is known color: Midnight Blue. HEX triplet: 28, 22 and 71. RGB value is (40,34,113). Sum of RGB (Red+Green+Blue) = 40+34+113=187 (24% of max value = 765). Red value is 40 (16.02% from 255 or 21.39% from 187); Green value is 34 (13.67% from 255 or 18.18% from 187); Blue value is 113 (44.53% from 255 or 60.43% from 187); Max value from RGB is 113 - color contains mainly: blue. Hex color #282271 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #282271 is #D7DD8E. Grayscale: #2C2C2C. Windows color (decimal): -14146959 or 7414312. OLE color: 7414312.
HSL color Cylindrical-coordinate representation of color #282271: hue angle of 244.56º degrees, saturation: 0.54, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #282271 is Cyan = 0.65, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 40 | 34 | 113 | - |
| CMYK | 0.65 | 0.70 | 0 | 0.56 |
| HSL | 244.56º | 0.54% | 0.29% | - |
| HSV(B) | 244.56º | 0.7% | 0.44% | - |
| XYZ | 4.43 | 2.79 | 15.93 | - |
| YUV | 44.8 | 166.49 | 124.58 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 34 | 113 | 0.65 | 0.70 | 0 | 0.56 | 244.56 | 0.54 | 0.29 |
| Hex | 28 | 22 | 71 | 41 | 46 | 0 | 38 | F5 | 36 | 1D |
| Octal | 50 | 42 | 161 | 101 | 106 | 0 | 70 | 365 | 66 | 35 |
| Binary | 101000 | 100010 | 1110001 | 1000001 | 1000110 | 0 | 111000 | 11110101 | 110110 | 11101 |
Color Harmonies of #282271
Complementary color
Monochromatic Colors of #282271
Black with #282271
Text Example
Text Example
White with #282271
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #282271; }
p { color: rgb(40,34,113); }
H1.HeaderClassName
{
color: #282271;
}
.AnyTagClassName
{
color: #282271;
}
</style>
background-color css
<style>
a { background-color: #282271; }
a { background-color: rgb(40,34,113); }
div.DivClassName
{
background-color: #282271;
}
.BgClassName
{
background-color: #282271;
}
</style>
border-color css
<style>
span { border-color: #282271; }
span { border-color: rgb(40,34,113); }
td.TdClassName
{
border-color: #282271;
}
.TagClassName
{
border-color: #282271;
}
</style>