Shades of Midnight Blue #040754
Tints of Midnight Blue #040754
RGB
CMYK
RGB Variations
Color information
#040754 (or 0x040754) is known color: Midnight Blue. HEX triplet: 04, 07 and 54. RGB value is (4,7,84). Sum of RGB (Red+Green+Blue) = 4+7+84=95 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.21% from 95); Green value is 7 (3.12% from 255 or 7.37% from 95); Blue value is 84 (33.20% from 255 or 88.42% from 95); Max value from RGB is 84 - color contains mainly: blue. Hex color #040754 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040754 is #FBF8AB. Grayscale: #0E0E0E. Windows color (decimal): -16513196 or 5506820. OLE color: 5506820.
HSL color Cylindrical-coordinate representation of color #040754: hue angle of 237.75º 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 #040754 is Cyan = 0.95, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.67.
Color convert
| RGB | 4 | 7 | 84 | - |
| CMYK | 0.95 | 0.92 | 0 | 0.67 |
| HSL | 237.75º | 0.91% | 0.17% | - |
| HSV(B) | 237.75º | 0.95% | 0.33% | - |
| XYZ | 1.73 | 0.82 | 8.45 | - |
| YUV | 14.88 | 167.01 | 120.24 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 7 | 84 | 0.95 | 0.92 | 0 | 0.67 | 237.75 | 0.91 | 0.17 |
| Hex | 4 | 7 | 54 | 5F | 5C | 0 | 43 | EE | 5B | 11 |
| Octal | 4 | 7 | 124 | 137 | 134 | 0 | 103 | 356 | 133 | 21 |
| Binary | 100 | 111 | 1010100 | 1011111 | 1011100 | 0 | 1000011 | 11101110 | 1011011 | 10001 |
Color Harmonies of #040754
Complementary color
Monochromatic Colors of #040754
Black with #040754
Text Example
Text Example
White with #040754
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040754; }
p { color: rgb(4,7,84); }
H1.HeaderClassName
{
color: #040754;
}
.AnyTagClassName
{
color: #040754;
}
</style>
background-color css
<style>
a { background-color: #040754; }
a { background-color: rgb(4,7,84); }
div.DivClassName
{
background-color: #040754;
}
.BgClassName
{
background-color: #040754;
}
</style>
border-color css
<style>
span { border-color: #040754; }
span { border-color: rgb(4,7,84); }
td.TdClassName
{
border-color: #040754;
}
.TagClassName
{
border-color: #040754;
}
</style>