Shades of Midnight Blue #040B5B
Tints of Midnight Blue #040B5B
RGB
CMYK
RGB Variations
Color information
#040B5B (or 0x040B5B) is known color: Midnight Blue. HEX triplet: 04, 0B and 5B. RGB value is (4,11,91). Sum of RGB (Red+Green+Blue) = 4+11+91=106 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.77% from 106); Green value is 11 (4.69% from 255 or 10.38% from 106); Blue value is 91 (35.94% from 255 or 85.85% from 106); Max value from RGB is 91 - color contains mainly: blue. Hex color #040B5B is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040B5B is #FBF4A4. Grayscale: #111111. Windows color (decimal): -16512165 or 5966596. OLE color: 5966596.
HSL color Cylindrical-coordinate representation of color #040B5B: hue angle of 235.17º degrees, saturation: 0.92, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.36% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040B5B is Cyan = 0.96, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.64.
Color convert
| RGB | 4 | 11 | 91 | - |
| CMYK | 0.96 | 0.88 | 0 | 0.64 |
| HSL | 235.17º | 0.92% | 0.19% | - |
| HSV(B) | 235.17º | 0.96% | 0.36% | - |
| XYZ | 2.06 | 1.02 | 9.99 | - |
| YUV | 18.03 | 169.18 | 118 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 11 | 91 | 0.96 | 0.88 | 0 | 0.64 | 235.17 | 0.92 | 0.19 |
| Hex | 4 | B | 5B | 60 | 58 | 0 | 40 | EB | 5C | 13 |
| Octal | 4 | 13 | 133 | 140 | 130 | 0 | 100 | 353 | 134 | 23 |
| Binary | 100 | 1011 | 1011011 | 1100000 | 1011000 | 0 | 1000000 | 11101011 | 1011100 | 10011 |
Color Harmonies of #040B5B
Complementary color
Monochromatic Colors of #040B5B
Black with #040B5B
Text Example
Text Example
White with #040B5B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040B5B; }
p { color: rgb(4,11,91); }
H1.HeaderClassName
{
color: #040B5B;
}
.AnyTagClassName
{
color: #040B5B;
}
</style>
background-color css
<style>
a { background-color: #040B5B; }
a { background-color: rgb(4,11,91); }
div.DivClassName
{
background-color: #040B5B;
}
.BgClassName
{
background-color: #040B5B;
}
</style>
border-color css
<style>
span { border-color: #040B5B; }
span { border-color: rgb(4,11,91); }
td.TdClassName
{
border-color: #040B5B;
}
.TagClassName
{
border-color: #040B5B;
}
</style>