Shades of Midnight Blue #051270
Tints of Midnight Blue #051270
RGB
CMYK
RGB Variations
Color information
#051270 (or 0x051270) is known color: Midnight Blue. HEX triplet: 05, 12 and 70. RGB value is (5,18,112). Sum of RGB (Red+Green+Blue) = 5+18+112=135 (17% of max value = 765). Red value is 5 (2.34% from 255 or 3.70% from 135); Green value is 18 (7.42% from 255 or 13.33% from 135); Blue value is 112 (44.14% from 255 or 82.96% from 135); Max value from RGB is 112 - color contains mainly: blue. Hex color #051270 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #051270 is #FAED8F. Grayscale: #181818. Windows color (decimal): -16444816 or 7344645. OLE color: 7344645.
HSL color Cylindrical-coordinate representation of color #051270: hue angle of 232.71º degrees, saturation: 0.91, lightness: 0.23%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #051270 is Cyan = 0.96, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 5 | 18 | 112 | - |
| CMYK | 0.96 | 0.84 | 0 | 0.56 |
| HSL | 232.71º | 0.91% | 0.23% | - |
| HSV(B) | 232.71º | 0.96% | 0.44% | - |
| XYZ | 3.2 | 1.63 | 15.48 | - |
| YUV | 24.83 | 177.19 | 113.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 5 | 18 | 112 | 0.96 | 0.84 | 0 | 0.56 | 232.71 | 0.91 | 0.23 |
| Hex | 5 | 12 | 70 | 60 | 54 | 0 | 38 | E9 | 5B | 17 |
| Octal | 5 | 22 | 160 | 140 | 124 | 0 | 70 | 351 | 133 | 27 |
| Binary | 101 | 10010 | 1110000 | 1100000 | 1010100 | 0 | 111000 | 11101001 | 1011011 | 10111 |
Color Harmonies of #051270
Complementary color
Monochromatic Colors of #051270
Black with #051270
Text Example
Text Example
White with #051270
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #051270; }
p { color: rgb(5,18,112); }
H1.HeaderClassName
{
color: #051270;
}
.AnyTagClassName
{
color: #051270;
}
</style>
background-color css
<style>
a { background-color: #051270; }
a { background-color: rgb(5,18,112); }
div.DivClassName
{
background-color: #051270;
}
.BgClassName
{
background-color: #051270;
}
</style>
border-color css
<style>
span { border-color: #051270; }
span { border-color: rgb(5,18,112); }
td.TdClassName
{
border-color: #051270;
}
.TagClassName
{
border-color: #051270;
}
</style>