Shades of Midnight Blue #1F1670
Tints of Midnight Blue #1F1670
RGB
CMYK
RGB Variations
Color information
#1F1670 (or 0x1F1670) is known color: Midnight Blue. HEX triplet: 1F, 16 and 70. RGB value is (31,22,112). Sum of RGB (Red+Green+Blue) = 31+22+112=165 (21% of max value = 765). Red value is 31 (12.5% from 255 or 18.79% from 165); Green value is 22 (8.98% from 255 or 13.33% from 165); Blue value is 112 (44.14% from 255 or 67.88% from 165); Max value from RGB is 112 - color contains mainly: blue. Hex color #1F1670 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1670 is #E0E98F. Grayscale: #222222. Windows color (decimal): -14739856 or 7345695. OLE color: 7345695.
HSL color Cylindrical-coordinate representation of color #1F1670: hue angle of 246º degrees, saturation: 0.67, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #1F1670 is Cyan = 0.72, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 22 | 112 | - |
| CMYK | 0.72 | 0.80 | 0 | 0.56 |
| HSL | 246º | 0.67% | 0.26% | - |
| HSV(B) | 246º | 0.8% | 0.44% | - |
| XYZ | 3.78 | 2.03 | 15.52 | - |
| YUV | 34.95 | 171.48 | 125.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 22 | 112 | 0.72 | 0.80 | 0 | 0.56 | 246 | 0.67 | 0.26 |
| Hex | 1F | 16 | 70 | 48 | 50 | 0 | 38 | F6 | 43 | 1A |
| Octal | 37 | 26 | 160 | 110 | 120 | 0 | 70 | 366 | 103 | 32 |
| Binary | 11111 | 10110 | 1110000 | 1001000 | 1010000 | 0 | 111000 | 11110110 | 1000011 | 11010 |
Color Harmonies of #1F1670
Complementary color
Monochromatic Colors of #1F1670
Black with #1F1670
Text Example
Text Example
White with #1F1670
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1670; }
p { color: rgb(31,22,112); }
H1.HeaderClassName
{
color: #1F1670;
}
.AnyTagClassName
{
color: #1F1670;
}
</style>
background-color css
<style>
a { background-color: #1F1670; }
a { background-color: rgb(31,22,112); }
div.DivClassName
{
background-color: #1F1670;
}
.BgClassName
{
background-color: #1F1670;
}
</style>
border-color css
<style>
span { border-color: #1F1670; }
span { border-color: rgb(31,22,112); }
td.TdClassName
{
border-color: #1F1670;
}
.TagClassName
{
border-color: #1F1670;
}
</style>