Shades of Midnight Blue #040854
Tints of Midnight Blue #040854
RGB
CMYK
RGB Variations
Color information
#040854 (or 0x040854) is known color: Midnight Blue. HEX triplet: 04, 08 and 54. RGB value is (4,8,84). Sum of RGB (Red+Green+Blue) = 4+8+84=96 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.17% from 96); Green value is 8 (3.52% from 255 or 8.33% from 96); Blue value is 84 (33.20% from 255 or 87.5% from 96); Max value from RGB is 84 - color contains mainly: blue. Hex color #040854 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040854 is #FBF7AB. Grayscale: #0F0F0F. Windows color (decimal): -16512940 or 5507076. OLE color: 5507076.
HSL color Cylindrical-coordinate representation of color #040854: hue angle of 237º degrees, saturation: 0.91, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.33% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #040854 is Cyan = 0.95, Magento = 0.90, Yellow = 0 and Black (K on CMYK) = 0.67.
Color convert
| RGB | 4 | 8 | 84 | - |
| CMYK | 0.95 | 0.90 | 0 | 0.67 |
| HSL | 237º | 0.91% | 0.17% | - |
| HSV(B) | 237º | 0.95% | 0.33% | - |
| XYZ | 1.74 | 0.84 | 8.46 | - |
| YUV | 15.47 | 166.67 | 119.82 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 8 | 84 | 0.95 | 0.90 | 0 | 0.67 | 237 | 0.91 | 0.17 |
| Hex | 4 | 8 | 54 | 5F | 5A | 0 | 43 | ED | 5B | 11 |
| Octal | 4 | 10 | 124 | 137 | 132 | 0 | 103 | 355 | 133 | 21 |
| Binary | 100 | 1000 | 1010100 | 1011111 | 1011010 | 0 | 1000011 | 11101101 | 1011011 | 10001 |
Color Harmonies of #040854
Complementary color
Monochromatic Colors of #040854
Black with #040854
Text Example
Text Example
White with #040854
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040854; }
p { color: rgb(4,8,84); }
H1.HeaderClassName
{
color: #040854;
}
.AnyTagClassName
{
color: #040854;
}
</style>
background-color css
<style>
a { background-color: #040854; }
a { background-color: rgb(4,8,84); }
div.DivClassName
{
background-color: #040854;
}
.BgClassName
{
background-color: #040854;
}
</style>
border-color css
<style>
span { border-color: #040854; }
span { border-color: rgb(4,8,84); }
td.TdClassName
{
border-color: #040854;
}
.TagClassName
{
border-color: #040854;
}
</style>