Shades of New Midnight Blue #040F9D
Tints of New Midnight Blue #040F9D
RGB
CMYK
RGB Variations
Color information
#040F9D (or 0x040F9D) is known color: New Midnight Blue. HEX triplet: 04, 0F and 9D. RGB value is (4,15,157). Sum of RGB (Red+Green+Blue) = 4+15+157=176 (23% of max value = 765). Red value is 4 (1.95% from 255 or 2.27% from 176); Green value is 15 (6.25% from 255 or 8.52% from 176); Blue value is 157 (61.72% from 255 or 89.20% from 176); Max value from RGB is 157 - color contains mainly: blue. Hex color #040F9D is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040F9D is #FBF062. Grayscale: #1B1B1B. Windows color (decimal): -16511075 or 10292996. OLE color: 10292996.
HSL color Cylindrical-coordinate representation of color #040F9D: hue angle of 235.69º degrees, saturation: 0.95, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.62% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #040F9D is Cyan = 0.97, Magento = 0.90, Yellow = 0 and Black (K on CMYK) = 0.38.
Color convert
| RGB | 4 | 15 | 157 | - |
| CMYK | 0.97 | 0.90 | 0 | 0.38 |
| HSL | 235.69º | 0.95% | 0.32% | - |
| HSV(B) | 235.69º | 0.97% | 0.62% | - |
| XYZ | 6.31 | 2.8 | 32.11 | - |
| YUV | 27.9 | 200.86 | 110.95 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 157 | 0.97 | 0.90 | 0 | 0.38 | 235.69 | 0.95 | 0.32 |
| Hex | 4 | F | 9D | 61 | 5A | 0 | 26 | EC | 5F | 20 |
| Octal | 4 | 17 | 235 | 141 | 132 | 0 | 46 | 354 | 137 | 40 |
| Binary | 100 | 1111 | 10011101 | 1100001 | 1011010 | 0 | 100110 | 11101100 | 1011111 | 100000 |
Color Harmonies of #040F9D
Complementary color
Monochromatic Colors of #040F9D
Black with #040F9D
Text Example
Text Example
White with #040F9D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040F9D; }
p { color: rgb(4,15,157); }
H1.HeaderClassName
{
color: #040F9D;
}
.AnyTagClassName
{
color: #040F9D;
}
</style>
background-color css
<style>
a { background-color: #040F9D; }
a { background-color: rgb(4,15,157); }
div.DivClassName
{
background-color: #040F9D;
}
.BgClassName
{
background-color: #040F9D;
}
</style>
border-color css
<style>
span { border-color: #040F9D; }
span { border-color: rgb(4,15,157); }
td.TdClassName
{
border-color: #040F9D;
}
.TagClassName
{
border-color: #040F9D;
}
</style>