Shades of Midnight Blue #040556
Tints of Midnight Blue #040556
RGB
CMYK
RGB Variations
Color information
#040556 (or 0x040556) is known color: Midnight Blue. HEX triplet: 04, 05 and 56. RGB value is (4,5,86). Sum of RGB (Red+Green+Blue) = 4+5+86=95 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.21% from 95); Green value is 5 (2.34% from 255 or 5.26% from 95); Blue value is 86 (33.98% from 255 or 90.53% from 95); Max value from RGB is 86 - color contains mainly: blue. Hex color #040556 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040556 is #FBFAA9. Grayscale: #0D0D0D. Windows color (decimal): -16513706 or 5637380. OLE color: 5637380.
HSL color Cylindrical-coordinate representation of color #040556: hue angle of 239.27º degrees, saturation: 0.91, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #040556 is Cyan = 0.95, Magento = 0.94, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 4 | 5 | 86 | - |
| CMYK | 0.95 | 0.94 | 0 | 0.66 |
| HSL | 239.27º | 0.91% | 0.18% | - |
| HSV(B) | 239.27º | 0.95% | 0.34% | - |
| XYZ | 1.78 | 0.81 | 8.87 | - |
| YUV | 13.94 | 168.67 | 120.91 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 5 | 86 | 0.95 | 0.94 | 0 | 0.66 | 239.27 | 0.91 | 0.18 |
| Hex | 4 | 5 | 56 | 5F | 5E | 0 | 42 | EF | 5B | 12 |
| Octal | 4 | 5 | 126 | 137 | 136 | 0 | 102 | 357 | 133 | 22 |
| Binary | 100 | 101 | 1010110 | 1011111 | 1011110 | 0 | 1000010 | 11101111 | 1011011 | 10010 |
Color Harmonies of #040556
Complementary color
Monochromatic Colors of #040556
Black with #040556
Text Example
Text Example
White with #040556
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040556; }
p { color: rgb(4,5,86); }
H1.HeaderClassName
{
color: #040556;
}
.AnyTagClassName
{
color: #040556;
}
</style>
background-color css
<style>
a { background-color: #040556; }
a { background-color: rgb(4,5,86); }
div.DivClassName
{
background-color: #040556;
}
.BgClassName
{
background-color: #040556;
}
</style>
border-color css
<style>
span { border-color: #040556; }
span { border-color: rgb(4,5,86); }
td.TdClassName
{
border-color: #040556;
}
.TagClassName
{
border-color: #040556;
}
</style>