Shades of Midnight Blue #040C68
Tints of Midnight Blue #040C68
RGB
CMYK
RGB Variations
Color information
#040C68 (or 0x040C68) is known color: Midnight Blue. HEX triplet: 04, 0C and 68. RGB value is (4,12,104). Sum of RGB (Red+Green+Blue) = 4+12+104=120 (15% of max value = 765). Red value is 4 (1.95% from 255 or 3.33% from 120); Green value is 12 (5.08% from 255 or 10% from 120); Blue value is 104 (41.02% from 255 or 86.67% from 120); Max value from RGB is 104 - color contains mainly: blue. Hex color #040C68 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040C68 is #FBF397. Grayscale: #131313. Windows color (decimal): -16511896 or 6818820. OLE color: 6818820.
HSL color Cylindrical-coordinate representation of color #040C68: hue angle of 235.2º 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 #040C68 is Cyan = 0.96, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.59.
Color convert
| RGB | 4 | 12 | 104 | - |
| CMYK | 0.96 | 0.88 | 0 | 0.59 |
| HSL | 235.2º | 0.93% | 0.21% | - |
| HSV(B) | 235.2º | 0.96% | 0.41% | - |
| XYZ | 2.68 | 1.29 | 13.2 | - |
| YUV | 20.1 | 175.35 | 116.52 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 104 | 0.96 | 0.88 | 0 | 0.59 | 235.2 | 0.93 | 0.21 |
| Hex | 4 | C | 68 | 60 | 58 | 0 | 3B | EB | 5D | 15 |
| Octal | 4 | 14 | 150 | 140 | 130 | 0 | 73 | 353 | 135 | 25 |
| Binary | 100 | 1100 | 1101000 | 1100000 | 1011000 | 0 | 111011 | 11101011 | 1011101 | 10101 |
Color Harmonies of #040C68
Complementary color
Monochromatic Colors of #040C68
Black with #040C68
Text Example
Text Example
White with #040C68
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C68; }
p { color: rgb(4,12,104); }
H1.HeaderClassName
{
color: #040C68;
}
.AnyTagClassName
{
color: #040C68;
}
</style>
background-color css
<style>
a { background-color: #040C68; }
a { background-color: rgb(4,12,104); }
div.DivClassName
{
background-color: #040C68;
}
.BgClassName
{
background-color: #040C68;
}
</style>
border-color css
<style>
span { border-color: #040C68; }
span { border-color: rgb(4,12,104); }
td.TdClassName
{
border-color: #040C68;
}
.TagClassName
{
border-color: #040C68;
}
</style>