Shades of Midnight Blue #040862
Tints of Midnight Blue #040862
RGB
CMYK
RGB Variations
Color information
#040862 (or 0x040862) is known color: Midnight Blue. HEX triplet: 04, 08 and 62. RGB value is (4,8,98). Sum of RGB (Red+Green+Blue) = 4+8+98=110 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.64% from 110); Green value is 8 (3.52% from 255 or 7.27% from 110); Blue value is 98 (38.67% from 255 or 89.09% from 110); Max value from RGB is 98 - color contains mainly: blue. Hex color #040862 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040862 is #FBF79D. Grayscale: #101010. Windows color (decimal): -16512926 or 6424580. OLE color: 6424580.
HSL color Cylindrical-coordinate representation of color #040862: hue angle of 237.45º 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 #040862 is Cyan = 0.96, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.62.
Color convert
| RGB | 4 | 8 | 98 | - |
| CMYK | 0.96 | 0.92 | 0 | 0.62 |
| HSL | 237.45º | 0.92% | 0.2% | - |
| HSV(B) | 237.45º | 0.96% | 0.38% | - |
| XYZ | 2.34 | 1.08 | 11.64 | - |
| YUV | 17.06 | 173.67 | 118.68 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 8 | 98 | 0.96 | 0.92 | 0 | 0.62 | 237.45 | 0.92 | 0.2 |
| Hex | 4 | 8 | 62 | 60 | 5C | 0 | 3E | ED | 5C | 14 |
| Octal | 4 | 10 | 142 | 140 | 134 | 0 | 76 | 355 | 134 | 24 |
| Binary | 100 | 1000 | 1100010 | 1100000 | 1011100 | 0 | 111110 | 11101101 | 1011100 | 10100 |
Color Harmonies of #040862
Complementary color
Monochromatic Colors of #040862
Black with #040862
Text Example
Text Example
White with #040862
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040862; }
p { color: rgb(4,8,98); }
H1.HeaderClassName
{
color: #040862;
}
.AnyTagClassName
{
color: #040862;
}
</style>
background-color css
<style>
a { background-color: #040862; }
a { background-color: rgb(4,8,98); }
div.DivClassName
{
background-color: #040862;
}
.BgClassName
{
background-color: #040862;
}
</style>
border-color css
<style>
span { border-color: #040862; }
span { border-color: rgb(4,8,98); }
td.TdClassName
{
border-color: #040862;
}
.TagClassName
{
border-color: #040862;
}
</style>