Shades of Midnight Blue #040C67
Tints of Midnight Blue #040C67
RGB
CMYK
RGB Variations
Color information
#040C67 (or 0x040C67) is known color: Midnight Blue. HEX triplet: 04, 0C and 67. RGB value is (4,12,103). Sum of RGB (Red+Green+Blue) = 4+12+103=119 (15% of max value = 765). Red value is 4 (1.95% from 255 or 3.36% from 119); Green value is 12 (5.08% from 255 or 10.08% from 119); Blue value is 103 (40.62% from 255 or 86.55% from 119); Max value from RGB is 103 - color contains mainly: blue. Hex color #040C67 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040C67 is #FBF398. Grayscale: #131313. Windows color (decimal): -16511897 or 6753284. OLE color: 6753284.
HSL color Cylindrical-coordinate representation of color #040C67: hue angle of 235.15º degrees, saturation: 0.93, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040C67 is Cyan = 0.96, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.60.
Color convert
| RGB | 4 | 12 | 103 | - |
| CMYK | 0.96 | 0.88 | 0 | 0.60 |
| HSL | 235.15º | 0.93% | 0.21% | - |
| HSV(B) | 235.15º | 0.96% | 0.4% | - |
| XYZ | 2.63 | 1.27 | 12.94 | - |
| YUV | 19.98 | 174.85 | 116.6 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 103 | 0.96 | 0.88 | 0 | 0.60 | 235.15 | 0.93 | 0.21 |
| Hex | 4 | C | 67 | 60 | 58 | 0 | 3C | EB | 5D | 15 |
| Octal | 4 | 14 | 147 | 140 | 130 | 0 | 74 | 353 | 135 | 25 |
| Binary | 100 | 1100 | 1100111 | 1100000 | 1011000 | 0 | 111100 | 11101011 | 1011101 | 10101 |
Color Harmonies of #040C67
Complementary color
Monochromatic Colors of #040C67
Black with #040C67
Text Example
Text Example
White with #040C67
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C67; }
p { color: rgb(4,12,103); }
H1.HeaderClassName
{
color: #040C67;
}
.AnyTagClassName
{
color: #040C67;
}
</style>
background-color css
<style>
a { background-color: #040C67; }
a { background-color: rgb(4,12,103); }
div.DivClassName
{
background-color: #040C67;
}
.BgClassName
{
background-color: #040C67;
}
</style>
border-color css
<style>
span { border-color: #040C67; }
span { border-color: rgb(4,12,103); }
td.TdClassName
{
border-color: #040C67;
}
.TagClassName
{
border-color: #040C67;
}
</style>