Shades of Midnight Blue #040F6A
Tints of Midnight Blue #040F6A
RGB
CMYK
RGB Variations
Color information
#040F6A (or 0x040F6A) is known color: Midnight Blue. HEX triplet: 04, 0F and 6A. RGB value is (4,15,106). Sum of RGB (Red+Green+Blue) = 4+15+106=125 (16% of max value = 765). Red value is 4 (1.95% from 255 or 3.2% from 125); Green value is 15 (6.25% from 255 or 12% from 125); Blue value is 106 (41.80% from 255 or 84.8% from 125); Max value from RGB is 106 - color contains mainly: blue. Hex color #040F6A is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040F6A is #FBF095. Grayscale: #151515. Windows color (decimal): -16511126 or 6950660. OLE color: 6950660.
HSL color Cylindrical-coordinate representation of color #040F6A: hue angle of 233.53º degrees, saturation: 0.93, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040F6A is Cyan = 0.96, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 4 | 15 | 106 | - |
| CMYK | 0.96 | 0.86 | 0 | 0.58 |
| HSL | 233.53º | 0.93% | 0.22% | - |
| HSV(B) | 233.53º | 0.96% | 0.42% | - |
| XYZ | 2.82 | 1.41 | 13.76 | - |
| YUV | 22.09 | 175.36 | 115.1 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 106 | 0.96 | 0.86 | 0 | 0.58 | 233.53 | 0.93 | 0.22 |
| Hex | 4 | F | 6A | 60 | 56 | 0 | 3A | EA | 5D | 16 |
| Octal | 4 | 17 | 152 | 140 | 126 | 0 | 72 | 352 | 135 | 26 |
| Binary | 100 | 1111 | 1101010 | 1100000 | 1010110 | 0 | 111010 | 11101010 | 1011101 | 10110 |
Color Harmonies of #040F6A
Complementary color
Monochromatic Colors of #040F6A
Black with #040F6A
Text Example
Text Example
White with #040F6A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040F6A; }
p { color: rgb(4,15,106); }
H1.HeaderClassName
{
color: #040F6A;
}
.AnyTagClassName
{
color: #040F6A;
}
</style>
background-color css
<style>
a { background-color: #040F6A; }
a { background-color: rgb(4,15,106); }
div.DivClassName
{
background-color: #040F6A;
}
.BgClassName
{
background-color: #040F6A;
}
</style>
border-color css
<style>
span { border-color: #040F6A; }
span { border-color: rgb(4,15,106); }
td.TdClassName
{
border-color: #040F6A;
}
.TagClassName
{
border-color: #040F6A;
}
</style>