Shades of Midnight Blue #040047
Tints of Midnight Blue #040047
RGB
CMYK
RGB Variations
Color information
#040047 (or 0x040047) is known color: Midnight Blue. HEX triplet: 04, 00 and 47. RGB value is (4,0,71). Sum of RGB (Red+Green+Blue) = 4+0+71=75 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.33% from 75); Green value is 0 (0.39% from 255 or 0% from 75); Blue value is 71 (28.12% from 255 or 94.67% from 75); Max value from RGB is 71 - color contains mainly: blue. Hex color #040047 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040047 is #FBFFB8. Grayscale: #090909. Windows color (decimal): -16515001 or 4653060. OLE color: 4653060.
HSL color Cylindrical-coordinate representation of color #040047: hue angle of 243.38º 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 #040047 is Cyan = 0.94, Magento = 1, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 4 | 0 | 71 | - |
| CMYK | 0.94 | 1 | 0 | 0.72 |
| HSL | 243.38º | 1% | 0.14% | - |
| HSV(B) | 243.38º | 1% | 0.28% | - |
| XYZ | 1.19 | 0.48 | 5.99 | - |
| YUV | 9.29 | 162.83 | 124.23 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 0 | 71 | 0.94 | 1 | 0 | 0.72 | 243.38 | 1 | 0.14 |
| Hex | 4 | 0 | 47 | 5E | 64 | 0 | 48 | F3 | 64 | E |
| Octal | 4 | 0 | 107 | 136 | 144 | 0 | 110 | 363 | 144 | 16 |
| Binary | 100 | 0 | 1000111 | 1011110 | 1100100 | 0 | 1001000 | 11110011 | 1100100 | 1110 |
Color Harmonies of #040047
Complementary color
Monochromatic Colors of #040047
Black with #040047
Text Example
Text Example
White with #040047
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040047; }
p { color: rgb(4,0,71); }
H1.HeaderClassName
{
color: #040047;
}
.AnyTagClassName
{
color: #040047;
}
</style>
background-color css
<style>
a { background-color: #040047; }
a { background-color: rgb(4,0,71); }
div.DivClassName
{
background-color: #040047;
}
.BgClassName
{
background-color: #040047;
}
</style>
border-color css
<style>
span { border-color: #040047; }
span { border-color: rgb(4,0,71); }
td.TdClassName
{
border-color: #040047;
}
.TagClassName
{
border-color: #040047;
}
</style>