Shades of Midnight Blue #040756
Tints of Midnight Blue #040756
RGB
CMYK
RGB Variations
Color information
#040756 (or 0x040756) is known color: Midnight Blue. HEX triplet: 04, 07 and 56. RGB value is (4,7,86). Sum of RGB (Red+Green+Blue) = 4+7+86=97 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.12% from 97); Green value is 7 (3.12% from 255 or 7.22% from 97); Blue value is 86 (33.98% from 255 or 88.66% from 97); Max value from RGB is 86 - color contains mainly: blue. Hex color #040756 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040756 is #FBF8A9. Grayscale: #0E0E0E. Windows color (decimal): -16513194 or 5637892. OLE color: 5637892.
HSL color Cylindrical-coordinate representation of color #040756: hue angle of 237.8º 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 #040756 is Cyan = 0.95, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 4 | 7 | 86 | - |
| CMYK | 0.95 | 0.92 | 0 | 0.66 |
| HSL | 237.8º | 0.91% | 0.18% | - |
| HSV(B) | 237.8º | 0.95% | 0.34% | - |
| XYZ | 1.81 | 0.85 | 8.87 | - |
| YUV | 15.11 | 168.01 | 120.08 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 7 | 86 | 0.95 | 0.92 | 0 | 0.66 | 237.8 | 0.91 | 0.18 |
| Hex | 4 | 7 | 56 | 5F | 5C | 0 | 42 | EE | 5B | 12 |
| Octal | 4 | 7 | 126 | 137 | 134 | 0 | 102 | 356 | 133 | 22 |
| Binary | 100 | 111 | 1010110 | 1011111 | 1011100 | 0 | 1000010 | 11101110 | 1011011 | 10010 |
Color Harmonies of #040756
Complementary color
Monochromatic Colors of #040756
Black with #040756
Text Example
Text Example
White with #040756
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040756; }
p { color: rgb(4,7,86); }
H1.HeaderClassName
{
color: #040756;
}
.AnyTagClassName
{
color: #040756;
}
</style>
background-color css
<style>
a { background-color: #040756; }
a { background-color: rgb(4,7,86); }
div.DivClassName
{
background-color: #040756;
}
.BgClassName
{
background-color: #040756;
}
</style>
border-color css
<style>
span { border-color: #040756; }
span { border-color: rgb(4,7,86); }
td.TdClassName
{
border-color: #040756;
}
.TagClassName
{
border-color: #040756;
}
</style>