Shades of Midnight Blue #040D62
Tints of Midnight Blue #040D62
RGB
CMYK
RGB Variations
Color information
#040D62 (or 0x040D62) is known color: Midnight Blue. HEX triplet: 04, 0D and 62. RGB value is (4,13,98). Sum of RGB (Red+Green+Blue) = 4+13+98=115 (15% of max value = 765). Red value is 4 (1.95% from 255 or 3.48% from 115); Green value is 13 (5.47% from 255 or 11.30% from 115); Blue value is 98 (38.67% from 255 or 85.22% from 115); Max value from RGB is 98 - color contains mainly: blue. Hex color #040D62 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040D62 is #FBF29D. Grayscale: #131313. Windows color (decimal): -16511646 or 6425860. OLE color: 6425860.
HSL color Cylindrical-coordinate representation of color #040D62: hue angle of 234.26º degrees, saturation: 0.92, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.38% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040D62 is Cyan = 0.96, Magento = 0.87, Yellow = 0 and Black (K on CMYK) = 0.62.
Color convert
| RGB | 4 | 13 | 98 | - |
| CMYK | 0.96 | 0.87 | 0 | 0.62 |
| HSL | 234.26º | 0.92% | 0.2% | - |
| HSV(B) | 234.26º | 0.96% | 0.38% | - |
| XYZ | 2.4 | 1.2 | 11.66 | - |
| YUV | 20 | 172.02 | 116.59 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 13 | 98 | 0.96 | 0.87 | 0 | 0.62 | 234.26 | 0.92 | 0.2 |
| Hex | 4 | D | 62 | 60 | 57 | 0 | 3E | EA | 5C | 14 |
| Octal | 4 | 15 | 142 | 140 | 127 | 0 | 76 | 352 | 134 | 24 |
| Binary | 100 | 1101 | 1100010 | 1100000 | 1010111 | 0 | 111110 | 11101010 | 1011100 | 10100 |
Color Harmonies of #040D62
Complementary color
Monochromatic Colors of #040D62
Black with #040D62
Text Example
Text Example
White with #040D62
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040D62; }
p { color: rgb(4,13,98); }
H1.HeaderClassName
{
color: #040D62;
}
.AnyTagClassName
{
color: #040D62;
}
</style>
background-color css
<style>
a { background-color: #040D62; }
a { background-color: rgb(4,13,98); }
div.DivClassName
{
background-color: #040D62;
}
.BgClassName
{
background-color: #040D62;
}
</style>
border-color css
<style>
span { border-color: #040D62; }
span { border-color: rgb(4,13,98); }
td.TdClassName
{
border-color: #040D62;
}
.TagClassName
{
border-color: #040D62;
}
</style>