Shades of Midnight Blue #040050
Tints of Midnight Blue #040050
RGB
CMYK
RGB Variations
Color information
#040050 (or 0x040050) is known color: Midnight Blue. HEX triplet: 04, 00 and 50. RGB value is (4,0,80). Sum of RGB (Red+Green+Blue) = 4+0+80=84 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.76% from 84); Green value is 0 (0.39% from 255 or 0% from 84); Blue value is 80 (31.64% from 255 or 95.24% from 84); Max value from RGB is 80 - color contains mainly: blue. Hex color #040050 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040050 is #FBFFAF. Grayscale: #0A0A0A. Windows color (decimal): -16514992 or 5242884. OLE color: 5242884.
HSL color Cylindrical-coordinate representation of color #040050: hue angle of 243º degrees, saturation: 1, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 1%. Process color model (Four color, CMYK) of #040050 is Cyan = 0.95, Magento = 1, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 4 | 0 | 80 | - |
| CMYK | 0.95 | 1 | 0 | 0.69 |
| HSL | 243º | 1% | 0.16% | - |
| HSV(B) | 243º | 1% | 0.31% | - |
| XYZ | 1.5 | 0.6 | 7.63 | - |
| YUV | 10.32 | 167.33 | 123.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 0 | 80 | 0.95 | 1 | 0 | 0.69 | 243 | 1 | 0.16 |
| Hex | 4 | 0 | 50 | 5F | 64 | 0 | 45 | F3 | 64 | 10 |
| Octal | 4 | 0 | 120 | 137 | 144 | 0 | 105 | 363 | 144 | 20 |
| Binary | 100 | 0 | 1010000 | 1011111 | 1100100 | 0 | 1000101 | 11110011 | 1100100 | 10000 |
Color Harmonies of #040050
Complementary color
Monochromatic Colors of #040050
Black with #040050
Text Example
Text Example
White with #040050
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040050; }
p { color: rgb(4,0,80); }
H1.HeaderClassName
{
color: #040050;
}
.AnyTagClassName
{
color: #040050;
}
</style>
background-color css
<style>
a { background-color: #040050; }
a { background-color: rgb(4,0,80); }
div.DivClassName
{
background-color: #040050;
}
.BgClassName
{
background-color: #040050;
}
</style>
border-color css
<style>
span { border-color: #040050; }
span { border-color: rgb(4,0,80); }
td.TdClassName
{
border-color: #040050;
}
.TagClassName
{
border-color: #040050;
}
</style>