Shades of Midnight Blue #040247
Tints of Midnight Blue #040247
RGB
CMYK
RGB Variations
Color information
#040247 (or 0x040247) is known color: Midnight Blue. HEX triplet: 04, 02 and 47. RGB value is (4,2,71). Sum of RGB (Red+Green+Blue) = 4+2+71=77 (10% of max value = 765). Red value is 4 (1.95% from 255 or 5.19% from 77); Green value is 2 (1.17% from 255 or 2.60% from 77); Blue value is 71 (28.12% from 255 or 92.21% from 77); Max value from RGB is 71 - color contains mainly: blue. Hex color #040247 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040247 is #FBFDB8. Grayscale: #0A0A0A. Windows color (decimal): -16514489 or 4653572. OLE color: 4653572.
HSL color Cylindrical-coordinate representation of color #040247: hue angle of 241.74º degrees, saturation: 0.95, lightness: 0.14%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #040247 is Cyan = 0.94, Magento = 0.97, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 4 | 2 | 71 | - |
| CMYK | 0.94 | 0.97 | 0 | 0.72 |
| HSL | 241.74º | 0.95% | 0.14% | - |
| HSV(B) | 241.74º | 0.97% | 0.28% | - |
| XYZ | 1.21 | 0.52 | 6 | - |
| YUV | 10.46 | 162.16 | 123.39 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 2 | 71 | 0.94 | 0.97 | 0 | 0.72 | 241.74 | 0.95 | 0.14 |
| Hex | 4 | 2 | 47 | 5E | 61 | 0 | 48 | F2 | 5F | E |
| Octal | 4 | 2 | 107 | 136 | 141 | 0 | 110 | 362 | 137 | 16 |
| Binary | 100 | 10 | 1000111 | 1011110 | 1100001 | 0 | 1001000 | 11110010 | 1011111 | 1110 |
Color Harmonies of #040247
Complementary color
Monochromatic Colors of #040247
Black with #040247
Text Example
Text Example
White with #040247
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040247; }
p { color: rgb(4,2,71); }
H1.HeaderClassName
{
color: #040247;
}
.AnyTagClassName
{
color: #040247;
}
</style>
background-color css
<style>
a { background-color: #040247; }
a { background-color: rgb(4,2,71); }
div.DivClassName
{
background-color: #040247;
}
.BgClassName
{
background-color: #040247;
}
</style>
border-color css
<style>
span { border-color: #040247; }
span { border-color: rgb(4,2,71); }
td.TdClassName
{
border-color: #040247;
}
.TagClassName
{
border-color: #040247;
}
</style>