Shades of Midnight Blue #040048
Tints of Midnight Blue #040048
RGB
CMYK
RGB Variations
Color information
#040048 (or 0x040048) is known color: Midnight Blue. HEX triplet: 04, 00 and 48. RGB value is (4,0,72). Sum of RGB (Red+Green+Blue) = 4+0+72=76 (10% of max value = 765). Red value is 4 (1.95% from 255 or 5.26% from 76); Green value is 0 (0.39% from 255 or 0% from 76); Blue value is 72 (28.52% from 255 or 94.74% from 76); Max value from RGB is 72 - color contains mainly: blue. Hex color #040048 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040048 is #FBFFB7. Grayscale: #090909. Windows color (decimal): -16515000 or 4718596. OLE color: 4718596.
HSL color Cylindrical-coordinate representation of color #040048: hue angle of 243.33º degrees, saturation: 1, lightness: 0.14%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 1%. Process color model (Four color, CMYK) of #040048 is Cyan = 0.94, Magento = 1, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 4 | 0 | 72 | - |
| CMYK | 0.94 | 1 | 0 | 0.72 |
| HSL | 243.33º | 1% | 0.14% | - |
| HSV(B) | 243.33º | 1% | 0.28% | - |
| XYZ | 1.22 | 0.49 | 6.16 | - |
| YUV | 9.4 | 163.33 | 124.15 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 0 | 72 | 0.94 | 1 | 0 | 0.72 | 243.33 | 1 | 0.14 |
| Hex | 4 | 0 | 48 | 5E | 64 | 0 | 48 | F3 | 64 | E |
| Octal | 4 | 0 | 110 | 136 | 144 | 0 | 110 | 363 | 144 | 16 |
| Binary | 100 | 0 | 1001000 | 1011110 | 1100100 | 0 | 1001000 | 11110011 | 1100100 | 1110 |
Color Harmonies of #040048
Complementary color
Monochromatic Colors of #040048
Black with #040048
Text Example
Text Example
White with #040048
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040048; }
p { color: rgb(4,0,72); }
H1.HeaderClassName
{
color: #040048;
}
.AnyTagClassName
{
color: #040048;
}
</style>
background-color css
<style>
a { background-color: #040048; }
a { background-color: rgb(4,0,72); }
div.DivClassName
{
background-color: #040048;
}
.BgClassName
{
background-color: #040048;
}
</style>
border-color css
<style>
span { border-color: #040048; }
span { border-color: rgb(4,0,72); }
td.TdClassName
{
border-color: #040048;
}
.TagClassName
{
border-color: #040048;
}
</style>