Shades of Midnight Blue #040D68
Tints of Midnight Blue #040D68
RGB
CMYK
RGB Variations
Color information
#040D68 (or 0x040D68) is known color: Midnight Blue. HEX triplet: 04, 0D and 68. RGB value is (4,13,104). Sum of RGB (Red+Green+Blue) = 4+13+104=121 (16% of max value = 765). Red value is 4 (1.95% from 255 or 3.31% from 121); Green value is 13 (5.47% from 255 or 10.74% from 121); Blue value is 104 (41.02% from 255 or 85.95% from 121); Max value from RGB is 104 - color contains mainly: blue. Hex color #040D68 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040D68 is #FBF297. Grayscale: #141414. Windows color (decimal): -16511640 or 6819076. OLE color: 6819076.
HSL color Cylindrical-coordinate representation of color #040D68: hue angle of 234.6º degrees, saturation: 0.93, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.41% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040D68 is Cyan = 0.96, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.59.
Color convert
| RGB | 4 | 13 | 104 | - |
| CMYK | 0.96 | 0.88 | 0 | 0.59 |
| HSL | 234.6º | 0.93% | 0.21% | - |
| HSV(B) | 234.6º | 0.96% | 0.41% | - |
| XYZ | 2.69 | 1.31 | 13.21 | - |
| YUV | 20.68 | 175.02 | 116.1 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 13 | 104 | 0.96 | 0.88 | 0 | 0.59 | 234.6 | 0.93 | 0.21 |
| Hex | 4 | D | 68 | 60 | 58 | 0 | 3B | EB | 5D | 15 |
| Octal | 4 | 15 | 150 | 140 | 130 | 0 | 73 | 353 | 135 | 25 |
| Binary | 100 | 1101 | 1101000 | 1100000 | 1011000 | 0 | 111011 | 11101011 | 1011101 | 10101 |
Color Harmonies of #040D68
Complementary color
Monochromatic Colors of #040D68
Black with #040D68
Text Example
Text Example
White with #040D68
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040D68; }
p { color: rgb(4,13,104); }
H1.HeaderClassName
{
color: #040D68;
}
.AnyTagClassName
{
color: #040D68;
}
</style>
background-color css
<style>
a { background-color: #040D68; }
a { background-color: rgb(4,13,104); }
div.DivClassName
{
background-color: #040D68;
}
.BgClassName
{
background-color: #040D68;
}
</style>
border-color css
<style>
span { border-color: #040D68; }
span { border-color: rgb(4,13,104); }
td.TdClassName
{
border-color: #040D68;
}
.TagClassName
{
border-color: #040D68;
}
</style>