Shades of Midnight Blue #040D5F
Tints of Midnight Blue #040D5F
RGB
CMYK
RGB Variations
Color information
#040D5F (or 0x040D5F) is known color: Midnight Blue. HEX triplet: 04, 0D and 5F. RGB value is (4,13,95). Sum of RGB (Red+Green+Blue) = 4+13+95=112 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.57% from 112); Green value is 13 (5.47% from 255 or 11.61% from 112); Blue value is 95 (37.5% from 255 or 84.82% from 112); Max value from RGB is 95 - color contains mainly: blue. Hex color #040D5F is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040D5F is #FBF2A0. Grayscale: #131313. Windows color (decimal): -16511649 or 6229252. OLE color: 6229252.
HSL color Cylindrical-coordinate representation of color #040D5F: hue angle of 234.07º 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 #040D5F is Cyan = 0.96, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 4 | 13 | 95 | - |
| CMYK | 0.96 | 0.86 | 0 | 0.63 |
| HSL | 234.07º | 0.92% | 0.19% | - |
| HSV(B) | 234.07º | 0.96% | 0.37% | - |
| XYZ | 2.26 | 1.14 | 10.93 | - |
| YUV | 19.66 | 170.52 | 116.83 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 13 | 95 | 0.96 | 0.86 | 0 | 0.63 | 234.07 | 0.92 | 0.19 |
| Hex | 4 | D | 5F | 60 | 56 | 0 | 3F | EA | 5C | 13 |
| Octal | 4 | 15 | 137 | 140 | 126 | 0 | 77 | 352 | 134 | 23 |
| Binary | 100 | 1101 | 1011111 | 1100000 | 1010110 | 0 | 111111 | 11101010 | 1011100 | 10011 |
Color Harmonies of #040D5F
Complementary color
Monochromatic Colors of #040D5F
Black with #040D5F
Text Example
Text Example
White with #040D5F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040D5F; }
p { color: rgb(4,13,95); }
H1.HeaderClassName
{
color: #040D5F;
}
.AnyTagClassName
{
color: #040D5F;
}
</style>
background-color css
<style>
a { background-color: #040D5F; }
a { background-color: rgb(4,13,95); }
div.DivClassName
{
background-color: #040D5F;
}
.BgClassName
{
background-color: #040D5F;
}
</style>
border-color css
<style>
span { border-color: #040D5F; }
span { border-color: rgb(4,13,95); }
td.TdClassName
{
border-color: #040D5F;
}
.TagClassName
{
border-color: #040D5F;
}
</style>