Shades of Midnight Blue #040F65
Tints of Midnight Blue #040F65
RGB
CMYK
RGB Variations
Color information
#040F65 (or 0x040F65) is known color: Midnight Blue. HEX triplet: 04, 0F and 65. RGB value is (4,15,101). Sum of RGB (Red+Green+Blue) = 4+15+101=120 (15% of max value = 765). Red value is 4 (1.95% from 255 or 3.33% from 120); Green value is 15 (6.25% from 255 or 12.5% from 120); Blue value is 101 (39.84% from 255 or 84.17% from 120); Max value from RGB is 101 - color contains mainly: blue. Hex color #040F65 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040F65 is #FBF09A. Grayscale: #151515. Windows color (decimal): -16511131 or 6622980. OLE color: 6622980.
HSL color Cylindrical-coordinate representation of color #040F65: hue angle of 233.2º degrees, saturation: 0.92, 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 #040F65 is Cyan = 0.96, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.60.
Color convert
| RGB | 4 | 15 | 101 | - |
| CMYK | 0.96 | 0.85 | 0 | 0.60 |
| HSL | 233.2º | 0.92% | 0.21% | - |
| HSV(B) | 233.2º | 0.96% | 0.4% | - |
| XYZ | 2.57 | 1.31 | 12.43 | - |
| YUV | 21.52 | 172.86 | 115.51 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 101 | 0.96 | 0.85 | 0 | 0.60 | 233.2 | 0.92 | 0.21 |
| Hex | 4 | F | 65 | 60 | 55 | 0 | 3C | E9 | 5C | 15 |
| Octal | 4 | 17 | 145 | 140 | 125 | 0 | 74 | 351 | 134 | 25 |
| Binary | 100 | 1111 | 1100101 | 1100000 | 1010101 | 0 | 111100 | 11101001 | 1011100 | 10101 |
Color Harmonies of #040F65
Complementary color
Monochromatic Colors of #040F65
Black with #040F65
Text Example
Text Example
White with #040F65
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040F65; }
p { color: rgb(4,15,101); }
H1.HeaderClassName
{
color: #040F65;
}
.AnyTagClassName
{
color: #040F65;
}
</style>
background-color css
<style>
a { background-color: #040F65; }
a { background-color: rgb(4,15,101); }
div.DivClassName
{
background-color: #040F65;
}
.BgClassName
{
background-color: #040F65;
}
</style>
border-color css
<style>
span { border-color: #040F65; }
span { border-color: rgb(4,15,101); }
td.TdClassName
{
border-color: #040F65;
}
.TagClassName
{
border-color: #040F65;
}
</style>