Shades of Midnight Blue #04054F
Tints of Midnight Blue #04054F
RGB
CMYK
RGB Variations
Color information
#04054F (or 0x04054F) is known color: Midnight Blue. HEX triplet: 04, 05 and 4F. RGB value is (4,5,79). Sum of RGB (Red+Green+Blue) = 4+5+79=88 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.55% from 88); Green value is 5 (2.34% from 255 or 5.68% from 88); Blue value is 79 (31.25% from 255 or 89.77% from 88); Max value from RGB is 79 - color contains mainly: blue. Hex color #04054F is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #04054F is #FBFAB0. Grayscale: #0C0C0C. Windows color (decimal): -16513713 or 5178628. OLE color: 5178628.
HSL color Cylindrical-coordinate representation of color #04054F: hue angle of 239.2º degrees, saturation: 0.9, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #04054F is Cyan = 0.95, Magento = 0.94, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 4 | 5 | 79 | - |
| CMYK | 0.95 | 0.94 | 0 | 0.69 |
| HSL | 239.2º | 0.9% | 0.16% | - |
| HSV(B) | 239.2º | 0.95% | 0.31% | - |
| XYZ | 1.52 | 0.7 | 7.45 | - |
| YUV | 13.14 | 165.17 | 121.48 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 5 | 79 | 0.95 | 0.94 | 0 | 0.69 | 239.2 | 0.9 | 0.16 |
| Hex | 4 | 5 | 4F | 5F | 5E | 0 | 45 | EF | 5A | 10 |
| Octal | 4 | 5 | 117 | 137 | 136 | 0 | 105 | 357 | 132 | 20 |
| Binary | 100 | 101 | 1001111 | 1011111 | 1011110 | 0 | 1000101 | 11101111 | 1011010 | 10000 |
Color Harmonies of #04054F
Complementary color
Monochromatic Colors of #04054F
Black with #04054F
Text Example
Text Example
White with #04054F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #04054F; }
p { color: rgb(4,5,79); }
H1.HeaderClassName
{
color: #04054F;
}
.AnyTagClassName
{
color: #04054F;
}
</style>
background-color css
<style>
a { background-color: #04054F; }
a { background-color: rgb(4,5,79); }
div.DivClassName
{
background-color: #04054F;
}
.BgClassName
{
background-color: #04054F;
}
</style>
border-color css
<style>
span { border-color: #04054F; }
span { border-color: rgb(4,5,79); }
td.TdClassName
{
border-color: #04054F;
}
.TagClassName
{
border-color: #04054F;
}
</style>