Shades of Midnight Blue #04054C
Tints of Midnight Blue #04054C
RGB
CMYK
RGB Variations
Color information
#04054C (or 0x04054C) is known color: Midnight Blue. HEX triplet: 04, 05 and 4C. RGB value is (4,5,76). Sum of RGB (Red+Green+Blue) = 4+5+76=85 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.71% from 85); Green value is 5 (2.34% from 255 or 5.88% from 85); Blue value is 76 (30.08% from 255 or 89.41% from 85); Max value from RGB is 76 - color contains mainly: blue. Hex color #04054C is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #04054C is #FBFAB3. Grayscale: #0C0C0C. Windows color (decimal): -16513716 or 4982020. OLE color: 4982020.
HSL color Cylindrical-coordinate representation of color #04054C: hue angle of 239.17º 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 #04054C is Cyan = 0.95, Magento = 0.93, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 4 | 5 | 76 | - |
| CMYK | 0.95 | 0.93 | 0 | 0.70 |
| HSL | 239.17º | 0.9% | 0.16% | - |
| HSV(B) | 239.17º | 0.95% | 0.3% | - |
| XYZ | 1.41 | 0.66 | 6.89 | - |
| YUV | 12.8 | 163.67 | 121.73 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 5 | 76 | 0.95 | 0.93 | 0 | 0.70 | 239.17 | 0.9 | 0.16 |
| Hex | 4 | 5 | 4C | 5F | 5D | 0 | 46 | EF | 5A | 10 |
| Octal | 4 | 5 | 114 | 137 | 135 | 0 | 106 | 357 | 132 | 20 |
| Binary | 100 | 101 | 1001100 | 1011111 | 1011101 | 0 | 1000110 | 11101111 | 1011010 | 10000 |
Color Harmonies of #04054C
Complementary color
Monochromatic Colors of #04054C
Black with #04054C
Text Example
Text Example
White with #04054C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #04054C; }
p { color: rgb(4,5,76); }
H1.HeaderClassName
{
color: #04054C;
}
.AnyTagClassName
{
color: #04054C;
}
</style>
background-color css
<style>
a { background-color: #04054C; }
a { background-color: rgb(4,5,76); }
div.DivClassName
{
background-color: #04054C;
}
.BgClassName
{
background-color: #04054C;
}
</style>
border-color css
<style>
span { border-color: #04054C; }
span { border-color: rgb(4,5,76); }
td.TdClassName
{
border-color: #04054C;
}
.TagClassName
{
border-color: #04054C;
}
</style>