Shades of Midnight Blue #040B5F
Tints of Midnight Blue #040B5F
RGB
CMYK
RGB Variations
Color information
#040B5F (or 0x040B5F) is known color: Midnight Blue. HEX triplet: 04, 0B and 5F. RGB value is (4,11,95). Sum of RGB (Red+Green+Blue) = 4+11+95=110 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.64% from 110); Green value is 11 (4.69% from 255 or 10% from 110); Blue value is 95 (37.5% from 255 or 86.36% from 110); Max value from RGB is 95 - color contains mainly: blue. Hex color #040B5F is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040B5F is #FBF4A0. Grayscale: #121212. Windows color (decimal): -16512161 or 6228740. OLE color: 6228740.
HSL color Cylindrical-coordinate representation of color #040B5F: hue angle of 235.38º degrees, saturation: 0.92, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040B5F is Cyan = 0.96, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 4 | 11 | 95 | - |
| CMYK | 0.96 | 0.88 | 0 | 0.63 |
| HSL | 235.38º | 0.92% | 0.19% | - |
| HSV(B) | 235.38º | 0.96% | 0.37% | - |
| XYZ | 2.24 | 1.09 | 10.92 | - |
| YUV | 18.48 | 171.18 | 117.67 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 11 | 95 | 0.96 | 0.88 | 0 | 0.63 | 235.38 | 0.92 | 0.19 |
| Hex | 4 | B | 5F | 60 | 58 | 0 | 3F | EB | 5C | 13 |
| Octal | 4 | 13 | 137 | 140 | 130 | 0 | 77 | 353 | 134 | 23 |
| Binary | 100 | 1011 | 1011111 | 1100000 | 1011000 | 0 | 111111 | 11101011 | 1011100 | 10011 |
Color Harmonies of #040B5F
Complementary color
Monochromatic Colors of #040B5F
Black with #040B5F
Text Example
Text Example
White with #040B5F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040B5F; }
p { color: rgb(4,11,95); }
H1.HeaderClassName
{
color: #040B5F;
}
.AnyTagClassName
{
color: #040B5F;
}
</style>
background-color css
<style>
a { background-color: #040B5F; }
a { background-color: rgb(4,11,95); }
div.DivClassName
{
background-color: #040B5F;
}
.BgClassName
{
background-color: #040B5F;
}
</style>
border-color css
<style>
span { border-color: #040B5F; }
span { border-color: rgb(4,11,95); }
td.TdClassName
{
border-color: #040B5F;
}
.TagClassName
{
border-color: #040B5F;
}
</style>