Shades of Midnight Blue #1F1E7D
Tints of Midnight Blue #1F1E7D
RGB
CMYK
RGB Variations
Color information
#1F1E7D (or 0x1F1E7D) is known color: Midnight Blue. HEX triplet: 1F, 1E and 7D. RGB value is (31,30,125). Sum of RGB (Red+Green+Blue) = 31+30+125=186 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.67% from 186); Green value is 30 (12.11% from 255 or 16.13% from 186); Blue value is 125 (49.22% from 255 or 67.20% from 186); Max value from RGB is 125 - color contains mainly: blue. Hex color #1F1E7D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1E7D is #E0E182. Grayscale: #282828. Windows color (decimal): -14737795 or 8199711. OLE color: 8199711.
HSL color Cylindrical-coordinate representation of color #1F1E7D: hue angle of 240.63º degrees, saturation: 0.61, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F1E7D is Cyan = 0.75, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 30 | 125 | - |
| CMYK | 0.75 | 0.76 | 0 | 0.51 |
| HSL | 240.63º | 0.61% | 0.3% | - |
| HSV(B) | 240.63º | 0.76% | 0.49% | - |
| XYZ | 4.73 | 2.7 | 19.67 | - |
| YUV | 41.13 | 175.33 | 120.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 30 | 125 | 0.75 | 0.76 | 0 | 0.51 | 240.63 | 0.61 | 0.3 |
| Hex | 1F | 1E | 7D | 4B | 4C | 0 | 33 | F1 | 3D | 1E |
| Octal | 37 | 36 | 175 | 113 | 114 | 0 | 63 | 361 | 75 | 36 |
| Binary | 11111 | 11110 | 1111101 | 1001011 | 1001100 | 0 | 110011 | 11110001 | 111101 | 11110 |
Color Harmonies of #1F1E7D
Complementary color
Monochromatic Colors of #1F1E7D
Black with #1F1E7D
Text Example
Text Example
White with #1F1E7D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1E7D; }
p { color: rgb(31,30,125); }
H1.HeaderClassName
{
color: #1F1E7D;
}
.AnyTagClassName
{
color: #1F1E7D;
}
</style>
background-color css
<style>
a { background-color: #1F1E7D; }
a { background-color: rgb(31,30,125); }
div.DivClassName
{
background-color: #1F1E7D;
}
.BgClassName
{
background-color: #1F1E7D;
}
</style>
border-color css
<style>
span { border-color: #1F1E7D; }
span { border-color: rgb(31,30,125); }
td.TdClassName
{
border-color: #1F1E7D;
}
.TagClassName
{
border-color: #1F1E7D;
}
</style>