Shades of Midnight Blue #040559
Tints of Midnight Blue #040559
RGB
CMYK
RGB Variations
Color information
#040559 (or 0x040559) is known color: Midnight Blue. HEX triplet: 04, 05 and 59. RGB value is (4,5,89). Sum of RGB (Red+Green+Blue) = 4+5+89=98 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.08% from 98); Green value is 5 (2.34% from 255 or 5.10% from 98); Blue value is 89 (35.16% from 255 or 90.82% from 98); Max value from RGB is 89 - color contains mainly: blue. Hex color #040559 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040559 is #FBFAA6. Grayscale: #0D0D0D. Windows color (decimal): -16513703 or 5833988. OLE color: 5833988.
HSL color Cylindrical-coordinate representation of color #040559: hue angle of 239.29º degrees, saturation: 0.91, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.35% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040559 is Cyan = 0.96, Magento = 0.94, Yellow = 0 and Black (K on CMYK) = 0.65.
Color convert
| RGB | 4 | 5 | 89 | - |
| CMYK | 0.96 | 0.94 | 0 | 0.65 |
| HSL | 239.29º | 0.91% | 0.18% | - |
| HSV(B) | 239.29º | 0.96% | 0.35% | - |
| XYZ | 1.91 | 0.86 | 9.52 | - |
| YUV | 14.28 | 170.17 | 120.67 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 5 | 89 | 0.96 | 0.94 | 0 | 0.65 | 239.29 | 0.91 | 0.18 |
| Hex | 4 | 5 | 59 | 60 | 5E | 0 | 41 | EF | 5B | 12 |
| Octal | 4 | 5 | 131 | 140 | 136 | 0 | 101 | 357 | 133 | 22 |
| Binary | 100 | 101 | 1011001 | 1100000 | 1011110 | 0 | 1000001 | 11101111 | 1011011 | 10010 |
Color Harmonies of #040559
Complementary color
Monochromatic Colors of #040559
Black with #040559
Text Example
Text Example
White with #040559
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040559; }
p { color: rgb(4,5,89); }
H1.HeaderClassName
{
color: #040559;
}
.AnyTagClassName
{
color: #040559;
}
</style>
background-color css
<style>
a { background-color: #040559; }
a { background-color: rgb(4,5,89); }
div.DivClassName
{
background-color: #040559;
}
.BgClassName
{
background-color: #040559;
}
</style>
border-color css
<style>
span { border-color: #040559; }
span { border-color: rgb(4,5,89); }
td.TdClassName
{
border-color: #040559;
}
.TagClassName
{
border-color: #040559;
}
</style>