Shades of Midnight Blue #04074F
Tints of Midnight Blue #04074F
RGB
CMYK
RGB Variations
Color information
#04074F (or 0x04074F) is known color: Midnight Blue. HEX triplet: 04, 07 and 4F. RGB value is (4,7,79). Sum of RGB (Red+Green+Blue) = 4+7+79=90 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.44% from 90); Green value is 7 (3.12% from 255 or 7.78% from 90); Blue value is 79 (31.25% from 255 or 87.78% from 90); Max value from RGB is 79 - color contains mainly: blue. Hex color #04074F is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #04074F is #FBF8B0. Grayscale: #0E0E0E. Windows color (decimal): -16513201 or 5179140. OLE color: 5179140.
HSL color Cylindrical-coordinate representation of color #04074F: hue angle of 237.6º 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 #04074F is Cyan = 0.95, Magento = 0.91, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 4 | 7 | 79 | - |
| CMYK | 0.95 | 0.91 | 0 | 0.69 |
| HSL | 237.6º | 0.9% | 0.16% | - |
| HSV(B) | 237.6º | 0.95% | 0.31% | - |
| XYZ | 1.54 | 0.74 | 7.46 | - |
| YUV | 14.31 | 164.51 | 120.65 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 7 | 79 | 0.95 | 0.91 | 0 | 0.69 | 237.6 | 0.9 | 0.16 |
| Hex | 4 | 7 | 4F | 5F | 5B | 0 | 45 | EE | 5A | 10 |
| Octal | 4 | 7 | 117 | 137 | 133 | 0 | 105 | 356 | 132 | 20 |
| Binary | 100 | 111 | 1001111 | 1011111 | 1011011 | 0 | 1000101 | 11101110 | 1011010 | 10000 |
Color Harmonies of #04074F
Complementary color
Monochromatic Colors of #04074F
Black with #04074F
Text Example
Text Example
White with #04074F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #04074F; }
p { color: rgb(4,7,79); }
H1.HeaderClassName
{
color: #04074F;
}
.AnyTagClassName
{
color: #04074F;
}
</style>
background-color css
<style>
a { background-color: #04074F; }
a { background-color: rgb(4,7,79); }
div.DivClassName
{
background-color: #04074F;
}
.BgClassName
{
background-color: #04074F;
}
</style>
border-color css
<style>
span { border-color: #04074F; }
span { border-color: rgb(4,7,79); }
td.TdClassName
{
border-color: #04074F;
}
.TagClassName
{
border-color: #04074F;
}
</style>