Shades of Midnight Blue #040A56
Tints of Midnight Blue #040A56
RGB
CMYK
RGB Variations
Color information
#040A56 (or 0x040A56) is known color: Midnight Blue. HEX triplet: 04, 0A and 56. RGB value is (4,10,86). Sum of RGB (Red+Green+Blue) = 4+10+86=100 (13% of max value = 765). Red value is 4 (1.95% from 255 or 4% from 100); Green value is 10 (4.30% from 255 or 10% from 100); Blue value is 86 (33.98% from 255 or 86% from 100); Max value from RGB is 86 - color contains mainly: blue. Hex color #040A56 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040A56 is #FBF5A9. Grayscale: #101010. Windows color (decimal): -16512426 or 5638660. OLE color: 5638660.
HSL color Cylindrical-coordinate representation of color #040A56: hue angle of 235.61º degrees, saturation: 0.91, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #040A56 is Cyan = 0.95, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 4 | 10 | 86 | - |
| CMYK | 0.95 | 0.88 | 0 | 0.66 |
| HSL | 235.61º | 0.91% | 0.18% | - |
| HSV(B) | 235.61º | 0.95% | 0.34% | - |
| XYZ | 1.84 | 0.91 | 8.88 | - |
| YUV | 16.87 | 167.01 | 118.82 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 10 | 86 | 0.95 | 0.88 | 0 | 0.66 | 235.61 | 0.91 | 0.18 |
| Hex | 4 | A | 56 | 5F | 58 | 0 | 42 | EC | 5B | 12 |
| Octal | 4 | 12 | 126 | 137 | 130 | 0 | 102 | 354 | 133 | 22 |
| Binary | 100 | 1010 | 1010110 | 1011111 | 1011000 | 0 | 1000010 | 11101100 | 1011011 | 10010 |
Color Harmonies of #040A56
Complementary color
Monochromatic Colors of #040A56
Black with #040A56
Text Example
Text Example
White with #040A56
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040A56; }
p { color: rgb(4,10,86); }
H1.HeaderClassName
{
color: #040A56;
}
.AnyTagClassName
{
color: #040A56;
}
</style>
background-color css
<style>
a { background-color: #040A56; }
a { background-color: rgb(4,10,86); }
div.DivClassName
{
background-color: #040A56;
}
.BgClassName
{
background-color: #040A56;
}
</style>
border-color css
<style>
span { border-color: #040A56; }
span { border-color: rgb(4,10,86); }
td.TdClassName
{
border-color: #040A56;
}
.TagClassName
{
border-color: #040A56;
}
</style>