Shades of Midnight Blue #040A5E
Tints of Midnight Blue #040A5E
RGB
CMYK
RGB Variations
Color information
#040A5E (or 0x040A5E) is known color: Midnight Blue. HEX triplet: 04, 0A and 5E. RGB value is (4,10,94). Sum of RGB (Red+Green+Blue) = 4+10+94=108 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.70% from 108); Green value is 10 (4.30% from 255 or 9.26% from 108); Blue value is 94 (37.11% from 255 or 87.04% from 108); Max value from RGB is 94 - color contains mainly: blue. Hex color #040A5E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040A5E is #FBF5A1. Grayscale: #111111. Windows color (decimal): -16512418 or 6162948. OLE color: 6162948.
HSL color Cylindrical-coordinate representation of color #040A5E: hue angle of 236º degrees, saturation: 0.92, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040A5E is Cyan = 0.96, Magento = 0.89, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 4 | 10 | 94 | - |
| CMYK | 0.96 | 0.89 | 0 | 0.63 |
| HSL | 236º | 0.92% | 0.19% | - |
| HSV(B) | 236º | 0.96% | 0.37% | - |
| XYZ | 2.18 | 1.05 | 10.68 | - |
| YUV | 17.78 | 171.01 | 118.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 10 | 94 | 0.96 | 0.89 | 0 | 0.63 | 236 | 0.92 | 0.19 |
| Hex | 4 | A | 5E | 60 | 59 | 0 | 3F | EC | 5C | 13 |
| Octal | 4 | 12 | 136 | 140 | 131 | 0 | 77 | 354 | 134 | 23 |
| Binary | 100 | 1010 | 1011110 | 1100000 | 1011001 | 0 | 111111 | 11101100 | 1011100 | 10011 |
Color Harmonies of #040A5E
Complementary color
Monochromatic Colors of #040A5E
Black with #040A5E
Text Example
Text Example
White with #040A5E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040A5E; }
p { color: rgb(4,10,94); }
H1.HeaderClassName
{
color: #040A5E;
}
.AnyTagClassName
{
color: #040A5E;
}
</style>
background-color css
<style>
a { background-color: #040A5E; }
a { background-color: rgb(4,10,94); }
div.DivClassName
{
background-color: #040A5E;
}
.BgClassName
{
background-color: #040A5E;
}
</style>
border-color css
<style>
span { border-color: #040A5E; }
span { border-color: rgb(4,10,94); }
td.TdClassName
{
border-color: #040A5E;
}
.TagClassName
{
border-color: #040A5E;
}
</style>