Shades of Midnight Blue #040E68
Tints of Midnight Blue #040E68
RGB
CMYK
RGB Variations
Color information
#040E68 (or 0x040E68) is known color: Midnight Blue. HEX triplet: 04, 0E and 68. RGB value is (4,14,104). Sum of RGB (Red+Green+Blue) = 4+14+104=122 (16% of max value = 765). Red value is 4 (1.95% from 255 or 3.28% from 122); Green value is 14 (5.86% from 255 or 11.48% from 122); Blue value is 104 (41.02% from 255 or 85.25% from 122); Max value from RGB is 104 - color contains mainly: blue. Hex color #040E68 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040E68 is #FBF197. Grayscale: #141414. Windows color (decimal): -16511384 or 6819332. OLE color: 6819332.
HSL color Cylindrical-coordinate representation of color #040E68: hue angle of 234º 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 #040E68 is Cyan = 0.96, Magento = 0.87, Yellow = 0 and Black (K on CMYK) = 0.59.
Color convert
| RGB | 4 | 14 | 104 | - |
| CMYK | 0.96 | 0.87 | 0 | 0.59 |
| HSL | 234º | 0.93% | 0.21% | - |
| HSV(B) | 234º | 0.96% | 0.41% | - |
| XYZ | 2.71 | 1.34 | 13.21 | - |
| YUV | 21.27 | 174.69 | 115.68 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 14 | 104 | 0.96 | 0.87 | 0 | 0.59 | 234 | 0.93 | 0.21 |
| Hex | 4 | E | 68 | 60 | 57 | 0 | 3B | EA | 5D | 15 |
| Octal | 4 | 16 | 150 | 140 | 127 | 0 | 73 | 352 | 135 | 25 |
| Binary | 100 | 1110 | 1101000 | 1100000 | 1010111 | 0 | 111011 | 11101010 | 1011101 | 10101 |
Color Harmonies of #040E68
Complementary color
Monochromatic Colors of #040E68
Black with #040E68
Text Example
Text Example
White with #040E68
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040E68; }
p { color: rgb(4,14,104); }
H1.HeaderClassName
{
color: #040E68;
}
.AnyTagClassName
{
color: #040E68;
}
</style>
background-color css
<style>
a { background-color: #040E68; }
a { background-color: rgb(4,14,104); }
div.DivClassName
{
background-color: #040E68;
}
.BgClassName
{
background-color: #040E68;
}
</style>
border-color css
<style>
span { border-color: #040E68; }
span { border-color: rgb(4,14,104); }
td.TdClassName
{
border-color: #040E68;
}
.TagClassName
{
border-color: #040E68;
}
</style>