Shades of Midnight Blue #040A5F
Tints of Midnight Blue #040A5F
RGB
CMYK
RGB Variations
Color information
#040A5F (or 0x040A5F) is known color: Midnight Blue. HEX triplet: 04, 0A and 5F. RGB value is (4,10,95). Sum of RGB (Red+Green+Blue) = 4+10+95=109 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.67% from 109); Green value is 10 (4.30% from 255 or 9.17% from 109); Blue value is 95 (37.5% from 255 or 87.16% from 109); Max value from RGB is 95 - color contains mainly: blue. Hex color #040A5F is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040A5F is #FBF5A0. Grayscale: #111111. Windows color (decimal): -16512417 or 6228484. OLE color: 6228484.
HSL color Cylindrical-coordinate representation of color #040A5F: hue angle of 236.04º 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 #040A5F is Cyan = 0.96, Magento = 0.89, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 4 | 10 | 95 | - |
| CMYK | 0.96 | 0.89 | 0 | 0.63 |
| HSL | 236.04º | 0.92% | 0.19% | - |
| HSV(B) | 236.04º | 0.96% | 0.37% | - |
| XYZ | 2.22 | 1.07 | 10.92 | - |
| YUV | 17.9 | 171.51 | 118.09 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 10 | 95 | 0.96 | 0.89 | 0 | 0.63 | 236.04 | 0.92 | 0.19 |
| Hex | 4 | A | 5F | 60 | 59 | 0 | 3F | EC | 5C | 13 |
| Octal | 4 | 12 | 137 | 140 | 131 | 0 | 77 | 354 | 134 | 23 |
| Binary | 100 | 1010 | 1011111 | 1100000 | 1011001 | 0 | 111111 | 11101100 | 1011100 | 10011 |
Color Harmonies of #040A5F
Complementary color
Monochromatic Colors of #040A5F
Black with #040A5F
Text Example
Text Example
White with #040A5F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040A5F; }
p { color: rgb(4,10,95); }
H1.HeaderClassName
{
color: #040A5F;
}
.AnyTagClassName
{
color: #040A5F;
}
</style>
background-color css
<style>
a { background-color: #040A5F; }
a { background-color: rgb(4,10,95); }
div.DivClassName
{
background-color: #040A5F;
}
.BgClassName
{
background-color: #040A5F;
}
</style>
border-color css
<style>
span { border-color: #040A5F; }
span { border-color: rgb(4,10,95); }
td.TdClassName
{
border-color: #040A5F;
}
.TagClassName
{
border-color: #040A5F;
}
</style>