Shades of Midnight Blue #040B5A
Tints of Midnight Blue #040B5A
RGB
CMYK
RGB Variations
Color information
#040B5A (or 0x040B5A) is known color: Midnight Blue. HEX triplet: 04, 0B and 5A. RGB value is (4,11,90). Sum of RGB (Red+Green+Blue) = 4+11+90=105 (13% of max value = 765). Red value is 4 (1.95% from 255 or 3.81% from 105); Green value is 11 (4.69% from 255 or 10.48% from 105); Blue value is 90 (35.55% from 255 or 85.71% from 105); Max value from RGB is 90 - color contains mainly: blue. Hex color #040B5A is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040B5A is #FBF4A5. Grayscale: #111111. Windows color (decimal): -16512166 or 5901060. OLE color: 5901060.
HSL color Cylindrical-coordinate representation of color #040B5A: hue angle of 235.12º degrees, saturation: 0.91, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.35% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040B5A is Cyan = 0.96, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.65.
Color convert
| RGB | 4 | 11 | 90 | - |
| CMYK | 0.96 | 0.88 | 0 | 0.65 |
| HSL | 235.12º | 0.91% | 0.18% | - |
| HSV(B) | 235.12º | 0.96% | 0.35% | - |
| XYZ | 2.02 | 1 | 9.76 | - |
| YUV | 17.91 | 168.68 | 118.08 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 11 | 90 | 0.96 | 0.88 | 0 | 0.65 | 235.12 | 0.91 | 0.18 |
| Hex | 4 | B | 5A | 60 | 58 | 0 | 41 | EB | 5B | 12 |
| Octal | 4 | 13 | 132 | 140 | 130 | 0 | 101 | 353 | 133 | 22 |
| Binary | 100 | 1011 | 1011010 | 1100000 | 1011000 | 0 | 1000001 | 11101011 | 1011011 | 10010 |
Color Harmonies of #040B5A
Complementary color
Monochromatic Colors of #040B5A
Black with #040B5A
Text Example
Text Example
White with #040B5A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040B5A; }
p { color: rgb(4,11,90); }
H1.HeaderClassName
{
color: #040B5A;
}
.AnyTagClassName
{
color: #040B5A;
}
</style>
background-color css
<style>
a { background-color: #040B5A; }
a { background-color: rgb(4,11,90); }
div.DivClassName
{
background-color: #040B5A;
}
.BgClassName
{
background-color: #040B5A;
}
</style>
border-color css
<style>
span { border-color: #040B5A; }
span { border-color: rgb(4,11,90); }
td.TdClassName
{
border-color: #040B5A;
}
.TagClassName
{
border-color: #040B5A;
}
</style>