Shades of Midnight Blue #1F1E87
Tints of Midnight Blue #1F1E87
RGB
CMYK
RGB Variations
Color information
#1F1E87 (or 0x1F1E87) is known color: Midnight Blue. HEX triplet: 1F, 1E and 87. RGB value is (31,30,135). Sum of RGB (Red+Green+Blue) = 31+30+135=196 (25% of max value = 765). Red value is 31 (12.5% from 255 or 15.82% from 196); Green value is 30 (12.11% from 255 or 15.31% from 196); Blue value is 135 (53.12% from 255 or 68.88% from 196); Max value from RGB is 135 - color contains mainly: blue. Hex color #1F1E87 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F1E87 is #E0E178. Grayscale: #292929. Windows color (decimal): -14737785 or 8855071. OLE color: 8855071.
HSL color Cylindrical-coordinate representation of color #1F1E87: hue angle of 240.57º degrees, saturation: 0.64, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1F1E87 is Cyan = 0.77, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 31 | 30 | 135 | - |
| CMYK | 0.77 | 0.78 | 0 | 0.47 |
| HSL | 240.57º | 0.64% | 0.32% | - |
| HSV(B) | 240.57º | 0.78% | 0.53% | - |
| XYZ | 5.4 | 2.97 | 23.21 | - |
| YUV | 42.27 | 180.33 | 119.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 30 | 135 | 0.77 | 0.78 | 0 | 0.47 | 240.57 | 0.64 | 0.32 |
| Hex | 1F | 1E | 87 | 4D | 4E | 0 | 2F | F1 | 40 | 20 |
| Octal | 37 | 36 | 207 | 115 | 116 | 0 | 57 | 361 | 100 | 40 |
| Binary | 11111 | 11110 | 10000111 | 1001101 | 1001110 | 0 | 101111 | 11110001 | 1000000 | 100000 |
Color Harmonies of #1F1E87
Complementary color
Monochromatic Colors of #1F1E87
Black with #1F1E87
Text Example
Text Example
White with #1F1E87
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1E87; }
p { color: rgb(31,30,135); }
H1.HeaderClassName
{
color: #1F1E87;
}
.AnyTagClassName
{
color: #1F1E87;
}
</style>
background-color css
<style>
a { background-color: #1F1E87; }
a { background-color: rgb(31,30,135); }
div.DivClassName
{
background-color: #1F1E87;
}
.BgClassName
{
background-color: #1F1E87;
}
</style>
border-color css
<style>
span { border-color: #1F1E87; }
span { border-color: rgb(31,30,135); }
td.TdClassName
{
border-color: #1F1E87;
}
.TagClassName
{
border-color: #1F1E87;
}
</style>