Shades of Midnight Blue #040051
Tints of Midnight Blue #040051
RGB
CMYK
RGB Variations
Color information
#040051 (or 0x040051) is known color: Midnight Blue. HEX triplet: 04, 00 and 51. RGB value is (4,0,81). Sum of RGB (Red+Green+Blue) = 4+0+81=85 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.71% from 85); Green value is 0 (0.39% from 255 or 0% from 85); Blue value is 81 (32.03% from 255 or 95.29% from 85); Max value from RGB is 81 - color contains mainly: blue. Hex color #040051 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040051 is #FBFFAE. Grayscale: #0A0A0A. Windows color (decimal): -16514991 or 5308420. OLE color: 5308420.
HSL color Cylindrical-coordinate representation of color #040051: hue angle of 242.96º degrees, saturation: 1, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 1%. Process color model (Four color, CMYK) of #040051 is Cyan = 0.95, Magento = 1, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 4 | 0 | 81 | - |
| CMYK | 0.95 | 1 | 0 | 0.68 |
| HSL | 242.96º | 1% | 0.16% | - |
| HSV(B) | 242.96º | 1% | 0.32% | - |
| XYZ | 1.54 | 0.62 | 7.82 | - |
| YUV | 10.43 | 167.83 | 123.41 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 0 | 81 | 0.95 | 1 | 0 | 0.68 | 242.96 | 1 | 0.16 |
| Hex | 4 | 0 | 51 | 5F | 64 | 0 | 44 | F3 | 64 | 10 |
| Octal | 4 | 0 | 121 | 137 | 144 | 0 | 104 | 363 | 144 | 20 |
| Binary | 100 | 0 | 1010001 | 1011111 | 1100100 | 0 | 1000100 | 11110011 | 1100100 | 10000 |
Color Harmonies of #040051
Complementary color
Monochromatic Colors of #040051
Black with #040051
Text Example
Text Example
White with #040051
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040051; }
p { color: rgb(4,0,81); }
H1.HeaderClassName
{
color: #040051;
}
.AnyTagClassName
{
color: #040051;
}
</style>
background-color css
<style>
a { background-color: #040051; }
a { background-color: rgb(4,0,81); }
div.DivClassName
{
background-color: #040051;
}
.BgClassName
{
background-color: #040051;
}
</style>
border-color css
<style>
span { border-color: #040051; }
span { border-color: rgb(4,0,81); }
td.TdClassName
{
border-color: #040051;
}
.TagClassName
{
border-color: #040051;
}
</style>