Shades of Midnight Blue #040B58
Tints of Midnight Blue #040B58
RGB
CMYK
RGB Variations
Color information
#040B58 (or 0x040B58) is known color: Midnight Blue. HEX triplet: 04, 0B and 58. RGB value is (4,11,88). Sum of RGB (Red+Green+Blue) = 4+11+88=103 (13% of max value = 765). Red value is 4 (1.95% from 255 or 3.88% from 103); Green value is 11 (4.69% from 255 or 10.68% from 103); Blue value is 88 (34.77% from 255 or 85.44% from 103); Max value from RGB is 88 - color contains mainly: blue. Hex color #040B58 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040B58 is #FBF4A7. Grayscale: #111111. Windows color (decimal): -16512168 or 5769988. OLE color: 5769988.
HSL color Cylindrical-coordinate representation of color #040B58: hue angle of 235º degrees, saturation: 0.91, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.35% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #040B58 is Cyan = 0.95, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.65.
Color convert
| RGB | 4 | 11 | 88 | - |
| CMYK | 0.95 | 0.88 | 0 | 0.65 |
| HSL | 235º | 0.91% | 0.18% | - |
| HSV(B) | 235º | 0.95% | 0.35% | - |
| XYZ | 1.93 | 0.97 | 9.32 | - |
| YUV | 17.69 | 167.68 | 118.24 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 11 | 88 | 0.95 | 0.88 | 0 | 0.65 | 235 | 0.91 | 0.18 |
| Hex | 4 | B | 58 | 5F | 58 | 0 | 41 | EB | 5B | 12 |
| Octal | 4 | 13 | 130 | 137 | 130 | 0 | 101 | 353 | 133 | 22 |
| Binary | 100 | 1011 | 1011000 | 1011111 | 1011000 | 0 | 1000001 | 11101011 | 1011011 | 10010 |
Color Harmonies of #040B58
Complementary color
Monochromatic Colors of #040B58
Black with #040B58
Text Example
Text Example
White with #040B58
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040B58; }
p { color: rgb(4,11,88); }
H1.HeaderClassName
{
color: #040B58;
}
.AnyTagClassName
{
color: #040B58;
}
</style>
background-color css
<style>
a { background-color: #040B58; }
a { background-color: rgb(4,11,88); }
div.DivClassName
{
background-color: #040B58;
}
.BgClassName
{
background-color: #040B58;
}
</style>
border-color css
<style>
span { border-color: #040B58; }
span { border-color: rgb(4,11,88); }
td.TdClassName
{
border-color: #040B58;
}
.TagClassName
{
border-color: #040B58;
}
</style>