Shades of Midnight Blue #04054D
Tints of Midnight Blue #04054D
RGB
CMYK
RGB Variations
Color information
#04054D (or 0x04054D) is known color: Midnight Blue. HEX triplet: 04, 05 and 4D. RGB value is (4,5,77). Sum of RGB (Red+Green+Blue) = 4+5+77=86 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.65% from 86); Green value is 5 (2.34% from 255 or 5.81% from 86); Blue value is 77 (30.47% from 255 or 89.53% from 86); Max value from RGB is 77 - color contains mainly: blue. Hex color #04054D is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #04054D is #FBFAB2. Grayscale: #0C0C0C. Windows color (decimal): -16513715 or 5047556. OLE color: 5047556.
HSL color Cylindrical-coordinate representation of color #04054D: hue angle of 239.18º degrees, saturation: 0.9, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #04054D is Cyan = 0.95, Magento = 0.94, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 4 | 5 | 77 | - |
| CMYK | 0.95 | 0.94 | 0 | 0.70 |
| HSL | 239.18º | 0.9% | 0.16% | - |
| HSV(B) | 239.18º | 0.95% | 0.3% | - |
| XYZ | 1.44 | 0.67 | 7.07 | - |
| YUV | 12.91 | 164.17 | 121.65 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 5 | 77 | 0.95 | 0.94 | 0 | 0.70 | 239.18 | 0.9 | 0.16 |
| Hex | 4 | 5 | 4D | 5F | 5E | 0 | 46 | EF | 5A | 10 |
| Octal | 4 | 5 | 115 | 137 | 136 | 0 | 106 | 357 | 132 | 20 |
| Binary | 100 | 101 | 1001101 | 1011111 | 1011110 | 0 | 1000110 | 11101111 | 1011010 | 10000 |
Color Harmonies of #04054D
Complementary color
Monochromatic Colors of #04054D
Black with #04054D
Text Example
Text Example
White with #04054D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #04054D; }
p { color: rgb(4,5,77); }
H1.HeaderClassName
{
color: #04054D;
}
.AnyTagClassName
{
color: #04054D;
}
</style>
background-color css
<style>
a { background-color: #04054D; }
a { background-color: rgb(4,5,77); }
div.DivClassName
{
background-color: #04054D;
}
.BgClassName
{
background-color: #04054D;
}
</style>
border-color css
<style>
span { border-color: #04054D; }
span { border-color: rgb(4,5,77); }
td.TdClassName
{
border-color: #04054D;
}
.TagClassName
{
border-color: #04054D;
}
</style>