Shades of Midnight Blue #040757
Tints of Midnight Blue #040757
RGB
CMYK
RGB Variations
Color information
#040757 (or 0x040757) is known color: Midnight Blue. HEX triplet: 04, 07 and 57. RGB value is (4,7,87). Sum of RGB (Red+Green+Blue) = 4+7+87=98 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.08% from 98); Green value is 7 (3.12% from 255 or 7.14% from 98); Blue value is 87 (34.38% from 255 or 88.78% from 98); Max value from RGB is 87 - color contains mainly: blue. Hex color #040757 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040757 is #FBF8A8. Grayscale: #0E0E0E. Windows color (decimal): -16513193 or 5703428. OLE color: 5703428.
HSL color Cylindrical-coordinate representation of color #040757: hue angle of 237.83º 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 #040757 is Cyan = 0.95, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 4 | 7 | 87 | - |
| CMYK | 0.95 | 0.92 | 0 | 0.66 |
| HSL | 237.83º | 0.91% | 0.18% | - |
| HSV(B) | 237.83º | 0.95% | 0.34% | - |
| XYZ | 1.85 | 0.87 | 9.09 | - |
| YUV | 15.22 | 168.51 | 120 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 7 | 87 | 0.95 | 0.92 | 0 | 0.66 | 237.83 | 0.91 | 0.18 |
| Hex | 4 | 7 | 57 | 5F | 5C | 0 | 42 | EE | 5B | 12 |
| Octal | 4 | 7 | 127 | 137 | 134 | 0 | 102 | 356 | 133 | 22 |
| Binary | 100 | 111 | 1010111 | 1011111 | 1011100 | 0 | 1000010 | 11101110 | 1011011 | 10010 |
Color Harmonies of #040757
Complementary color
Monochromatic Colors of #040757
Black with #040757
Text Example
Text Example
White with #040757
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040757; }
p { color: rgb(4,7,87); }
H1.HeaderClassName
{
color: #040757;
}
.AnyTagClassName
{
color: #040757;
}
</style>
background-color css
<style>
a { background-color: #040757; }
a { background-color: rgb(4,7,87); }
div.DivClassName
{
background-color: #040757;
}
.BgClassName
{
background-color: #040757;
}
</style>
border-color css
<style>
span { border-color: #040757; }
span { border-color: rgb(4,7,87); }
td.TdClassName
{
border-color: #040757;
}
.TagClassName
{
border-color: #040757;
}
</style>