Shades of Midnight Blue #04054E
Tints of Midnight Blue #04054E
RGB
CMYK
RGB Variations
Color information
#04054E (or 0x04054E) is known color: Midnight Blue. HEX triplet: 04, 05 and 4E. RGB value is (4,5,78). Sum of RGB (Red+Green+Blue) = 4+5+78=87 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.60% from 87); Green value is 5 (2.34% from 255 or 5.75% from 87); Blue value is 78 (30.86% from 255 or 89.66% from 87); Max value from RGB is 78 - color contains mainly: blue. Hex color #04054E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #04054E is #FBFAB1. Grayscale: #0C0C0C. Windows color (decimal): -16513714 or 5113092. OLE color: 5113092.
HSL color Cylindrical-coordinate representation of color #04054E: hue angle of 239.19º 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 #04054E is Cyan = 0.95, Magento = 0.94, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 4 | 5 | 78 | - |
| CMYK | 0.95 | 0.94 | 0 | 0.69 |
| HSL | 239.19º | 0.9% | 0.16% | - |
| HSV(B) | 239.19º | 0.95% | 0.31% | - |
| XYZ | 1.48 | 0.68 | 7.26 | - |
| YUV | 13.02 | 164.67 | 121.56 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 5 | 78 | 0.95 | 0.94 | 0 | 0.69 | 239.19 | 0.9 | 0.16 |
| Hex | 4 | 5 | 4E | 5F | 5E | 0 | 45 | EF | 5A | 10 |
| Octal | 4 | 5 | 116 | 137 | 136 | 0 | 105 | 357 | 132 | 20 |
| Binary | 100 | 101 | 1001110 | 1011111 | 1011110 | 0 | 1000101 | 11101111 | 1011010 | 10000 |
Color Harmonies of #04054E
Complementary color
Monochromatic Colors of #04054E
Black with #04054E
Text Example
Text Example
White with #04054E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #04054E; }
p { color: rgb(4,5,78); }
H1.HeaderClassName
{
color: #04054E;
}
.AnyTagClassName
{
color: #04054E;
}
</style>
background-color css
<style>
a { background-color: #04054E; }
a { background-color: rgb(4,5,78); }
div.DivClassName
{
background-color: #04054E;
}
.BgClassName
{
background-color: #04054E;
}
</style>
border-color css
<style>
span { border-color: #04054E; }
span { border-color: rgb(4,5,78); }
td.TdClassName
{
border-color: #04054E;
}
.TagClassName
{
border-color: #04054E;
}
</style>