Shades of Midnight Blue #1F1E7E
Tints of Midnight Blue #1F1E7E
RGB
CMYK
RGB Variations
Color information
#1F1E7E (or 0x1F1E7E) is known color: Midnight Blue. HEX triplet: 1F, 1E and 7E. RGB value is (31,30,126). Sum of RGB (Red+Green+Blue) = 31+30+126=187 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.58% from 187); Green value is 30 (12.11% from 255 or 16.04% from 187); Blue value is 126 (49.61% from 255 or 67.38% from 187); Max value from RGB is 126 - color contains mainly: blue. Hex color #1F1E7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1E7E is #E0E181. Grayscale: #282828. Windows color (decimal): -14737794 or 8265247. OLE color: 8265247.
HSL color Cylindrical-coordinate representation of color #1F1E7E: hue angle of 240.62º degrees, saturation: 0.62, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F1E7E is Cyan = 0.75, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 30 | 126 | - |
| CMYK | 0.75 | 0.76 | 0 | 0.51 |
| HSL | 240.63º | 0.62% | 0.31% | - |
| HSV(B) | 240.63º | 0.76% | 0.49% | - |
| XYZ | 4.8 | 2.73 | 20.01 | - |
| YUV | 41.24 | 175.83 | 120.69 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 30 | 126 | 0.75 | 0.76 | 0 | 0.51 | 240.63 | 0.62 | 0.31 |
| Hex | 1F | 1E | 7E | 4B | 4C | 0 | 33 | F1 | 3E | 1F |
| Octal | 37 | 36 | 176 | 113 | 114 | 0 | 63 | 361 | 76 | 37 |
| Binary | 11111 | 11110 | 1111110 | 1001011 | 1001100 | 0 | 110011 | 11110001 | 111110 | 11111 |
Color Harmonies of #1F1E7E
Complementary color
Monochromatic Colors of #1F1E7E
Black with #1F1E7E
Text Example
Text Example
White with #1F1E7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1E7E; }
p { color: rgb(31,30,126); }
H1.HeaderClassName
{
color: #1F1E7E;
}
.AnyTagClassName
{
color: #1F1E7E;
}
</style>
background-color css
<style>
a { background-color: #1F1E7E; }
a { background-color: rgb(31,30,126); }
div.DivClassName
{
background-color: #1F1E7E;
}
.BgClassName
{
background-color: #1F1E7E;
}
</style>
border-color css
<style>
span { border-color: #1F1E7E; }
span { border-color: rgb(31,30,126); }
td.TdClassName
{
border-color: #1F1E7E;
}
.TagClassName
{
border-color: #1F1E7E;
}
</style>