Shades of Midnight Blue #040056
Tints of Midnight Blue #040056
RGB
CMYK
RGB Variations
Color information
#040056 (or 0x040056) is known color: Midnight Blue. HEX triplet: 04, 00 and 56. RGB value is (4,0,86). Sum of RGB (Red+Green+Blue) = 4+0+86=90 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.44% from 90); Green value is 0 (0.39% from 255 or 0% from 90); Blue value is 86 (33.98% from 255 or 95.56% from 90); Max value from RGB is 86 - color contains mainly: blue. Hex color #040056 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040056 is #FBFFA9. Grayscale: #0A0A0A. Windows color (decimal): -16514986 or 5636100. OLE color: 5636100.
HSL color Cylindrical-coordinate representation of color #040056: hue angle of 242.79º degrees, saturation: 1, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 1%. Process color model (Four color, CMYK) of #040056 is Cyan = 0.95, Magento = 1, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 4 | 0 | 86 | - |
| CMYK | 0.95 | 1 | 0 | 0.66 |
| HSL | 242.79º | 1% | 0.17% | - |
| HSV(B) | 242.79º | 1% | 0.34% | - |
| XYZ | 1.73 | 0.7 | 8.85 | - |
| YUV | 11 | 170.33 | 123.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 0 | 86 | 0.95 | 1 | 0 | 0.66 | 242.79 | 1 | 0.17 |
| Hex | 4 | 0 | 56 | 5F | 64 | 0 | 42 | F3 | 64 | 11 |
| Octal | 4 | 0 | 126 | 137 | 144 | 0 | 102 | 363 | 144 | 21 |
| Binary | 100 | 0 | 1010110 | 1011111 | 1100100 | 0 | 1000010 | 11110011 | 1100100 | 10001 |
Color Harmonies of #040056
Complementary color
Monochromatic Colors of #040056
Black with #040056
Text Example
Text Example
White with #040056
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040056; }
p { color: rgb(4,0,86); }
H1.HeaderClassName
{
color: #040056;
}
.AnyTagClassName
{
color: #040056;
}
</style>
background-color css
<style>
a { background-color: #040056; }
a { background-color: rgb(4,0,86); }
div.DivClassName
{
background-color: #040056;
}
.BgClassName
{
background-color: #040056;
}
</style>
border-color css
<style>
span { border-color: #040056; }
span { border-color: rgb(4,0,86); }
td.TdClassName
{
border-color: #040056;
}
.TagClassName
{
border-color: #040056;
}
</style>