Shades of Midnight Blue #040A62
Tints of Midnight Blue #040A62
RGB
CMYK
RGB Variations
Color information
#040A62 (or 0x040A62) is known color: Midnight Blue. HEX triplet: 04, 0A and 62. RGB value is (4,10,98). Sum of RGB (Red+Green+Blue) = 4+10+98=112 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.57% from 112); Green value is 10 (4.30% from 255 or 8.93% from 112); Blue value is 98 (38.67% from 255 or 87.5% from 112); Max value from RGB is 98 - color contains mainly: blue. Hex color #040A62 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040A62 is #FBF59D. Grayscale: #111111. Windows color (decimal): -16512414 or 6425092. OLE color: 6425092.
HSL color Cylindrical-coordinate representation of color #040A62: hue angle of 236.17º degrees, saturation: 0.92, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.38% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040A62 is Cyan = 0.96, Magento = 0.90, Yellow = 0 and Black (K on CMYK) = 0.62.
Color convert
| RGB | 4 | 10 | 98 | - |
| CMYK | 0.96 | 0.90 | 0 | 0.62 |
| HSL | 236.17º | 0.92% | 0.2% | - |
| HSV(B) | 236.17º | 0.96% | 0.38% | - |
| XYZ | 2.36 | 1.12 | 11.65 | - |
| YUV | 18.24 | 173.01 | 117.84 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 10 | 98 | 0.96 | 0.90 | 0 | 0.62 | 236.17 | 0.92 | 0.2 |
| Hex | 4 | A | 62 | 60 | 5A | 0 | 3E | EC | 5C | 14 |
| Octal | 4 | 12 | 142 | 140 | 132 | 0 | 76 | 354 | 134 | 24 |
| Binary | 100 | 1010 | 1100010 | 1100000 | 1011010 | 0 | 111110 | 11101100 | 1011100 | 10100 |
Color Harmonies of #040A62
Complementary color
Monochromatic Colors of #040A62
Black with #040A62
Text Example
Text Example
White with #040A62
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040A62; }
p { color: rgb(4,10,98); }
H1.HeaderClassName
{
color: #040A62;
}
.AnyTagClassName
{
color: #040A62;
}
</style>
background-color css
<style>
a { background-color: #040A62; }
a { background-color: rgb(4,10,98); }
div.DivClassName
{
background-color: #040A62;
}
.BgClassName
{
background-color: #040A62;
}
</style>
border-color css
<style>
span { border-color: #040A62; }
span { border-color: rgb(4,10,98); }
td.TdClassName
{
border-color: #040A62;
}
.TagClassName
{
border-color: #040A62;
}
</style>