Shades of New Midnight Blue #040DA8
Tints of New Midnight Blue #040DA8
RGB
CMYK
RGB Variations
Color information
#040DA8 (or 0x040DA8) is known color: New Midnight Blue. HEX triplet: 04, 0D and A8. RGB value is (4,13,168). Sum of RGB (Red+Green+Blue) = 4+13+168=185 (24% of max value = 765). Red value is 4 (1.95% from 255 or 2.16% from 185); Green value is 13 (5.47% from 255 or 7.03% from 185); Blue value is 168 (66.02% from 255 or 90.81% from 185); Max value from RGB is 168 - color contains mainly: blue. Hex color #040DA8 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040DA8 is #FBF257. Grayscale: #1B1B1B. Windows color (decimal): -16511576 or 11013380. OLE color: 11013380.
HSL color Cylindrical-coordinate representation of color #040DA8: hue angle of 236.71º degrees, saturation: 0.95, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.66% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #040DA8 is Cyan = 0.98, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.34.
Color convert
| RGB | 4 | 13 | 168 | - |
| CMYK | 0.98 | 0.92 | 0 | 0.34 |
| HSL | 236.71º | 0.95% | 0.34% | - |
| HSV(B) | 236.71º | 0.98% | 0.66% | - |
| XYZ | 7.26 | 3.14 | 37.27 | - |
| YUV | 27.98 | 207.02 | 110.9 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 13 | 168 | 0.98 | 0.92 | 0 | 0.34 | 236.71 | 0.95 | 0.34 |
| Hex | 4 | D | A8 | 62 | 5C | 0 | 22 | ED | 5F | 22 |
| Octal | 4 | 15 | 250 | 142 | 134 | 0 | 42 | 355 | 137 | 42 |
| Binary | 100 | 1101 | 10101000 | 1100010 | 1011100 | 0 | 100010 | 11101101 | 1011111 | 100010 |
Color Harmonies of #040DA8
Complementary color
Monochromatic Colors of #040DA8
Black with #040DA8
Text Example
Text Example
White with #040DA8
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040DA8; }
p { color: rgb(4,13,168); }
H1.HeaderClassName
{
color: #040DA8;
}
.AnyTagClassName
{
color: #040DA8;
}
</style>
background-color css
<style>
a { background-color: #040DA8; }
a { background-color: rgb(4,13,168); }
div.DivClassName
{
background-color: #040DA8;
}
.BgClassName
{
background-color: #040DA8;
}
</style>
border-color css
<style>
span { border-color: #040DA8; }
span { border-color: rgb(4,13,168); }
td.TdClassName
{
border-color: #040DA8;
}
.TagClassName
{
border-color: #040DA8;
}
</style>