Shades of New Midnight Blue #040FB4
Tints of New Midnight Blue #040FB4
RGB
CMYK
RGB Variations
Color information
#040FB4 (or 0x040FB4) is known color: New Midnight Blue. HEX triplet: 04, 0F and B4. RGB value is (4,15,180). Sum of RGB (Red+Green+Blue) = 4+15+180=199 (26% of max value = 765). Red value is 4 (1.95% from 255 or 2.01% from 199); Green value is 15 (6.25% from 255 or 7.54% from 199); Blue value is 180 (70.70% from 255 or 90.45% from 199); Max value from RGB is 180 - color contains mainly: blue. Hex color #040FB4 is not a web safe color. Web safe color analog (approx): #0000CC. Inversed color of #040FB4 is #FBF04B. Grayscale: #1D1D1D. Windows color (decimal): -16511052 or 11800324. OLE color: 11800324.
HSL color Cylindrical-coordinate representation of color #040FB4: hue angle of 236.25º degrees, saturation: 0.96, lightness: 0.36%. HSV value (or HSB Brightness) of color is 0.71% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #040FB4 is Cyan = 0.98, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.29.
Color convert
| RGB | 4 | 15 | 180 | - |
| CMYK | 0.98 | 0.92 | 0 | 0.29 |
| HSL | 236.25º | 0.96% | 0.36% | - |
| HSV(B) | 236.25º | 0.98% | 0.71% | - |
| XYZ | 8.46 | 3.66 | 43.44 | - |
| YUV | 30.52 | 212.36 | 109.08 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 15 | 180 | 0.98 | 0.92 | 0 | 0.29 | 236.25 | 0.96 | 0.36 |
| Hex | 4 | F | B4 | 62 | 5C | 0 | 1D | EC | 60 | 24 |
| Octal | 4 | 17 | 264 | 142 | 134 | 0 | 35 | 354 | 140 | 44 |
| Binary | 100 | 1111 | 10110100 | 1100010 | 1011100 | 0 | 11101 | 11101100 | 1100000 | 100100 |
Color Harmonies of #040FB4
Complementary color
Monochromatic Colors of #040FB4
Black with #040FB4
Text Example
Text Example
White with #040FB4
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040FB4; }
p { color: rgb(4,15,180); }
H1.HeaderClassName
{
color: #040FB4;
}
.AnyTagClassName
{
color: #040FB4;
}
</style>
background-color css
<style>
a { background-color: #040FB4; }
a { background-color: rgb(4,15,180); }
div.DivClassName
{
background-color: #040FB4;
}
.BgClassName
{
background-color: #040FB4;
}
</style>
border-color css
<style>
span { border-color: #040FB4; }
span { border-color: rgb(4,15,180); }
td.TdClassName
{
border-color: #040FB4;
}
.TagClassName
{
border-color: #040FB4;
}
</style>