Shades of Midnight Blue #1F166C
Tints of Midnight Blue #1F166C
RGB
CMYK
RGB Variations
Color information
#1F166C (or 0x1F166C) is known color: Midnight Blue. HEX triplet: 1F, 16 and 6C. RGB value is (31,22,108). Sum of RGB (Red+Green+Blue) = 31+22+108=161 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.25% from 161); Green value is 22 (8.98% from 255 or 13.66% from 161); Blue value is 108 (42.58% from 255 or 67.08% from 161); Max value from RGB is 108 - color contains mainly: blue. Hex color #1F166C is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F166C is #E0E993. Grayscale: #222222. Windows color (decimal): -14739860 or 7083551. OLE color: 7083551.
HSL color Cylindrical-coordinate representation of color #1F166C: hue angle of 246.28º degrees, saturation: 0.66, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #1F166C is Cyan = 0.71, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 22 | 108 | - |
| CMYK | 0.71 | 0.80 | 0 | 0.58 |
| HSL | 246.28º | 0.66% | 0.25% | - |
| HSV(B) | 246.28º | 0.8% | 0.42% | - |
| XYZ | 3.56 | 1.95 | 14.38 | - |
| YUV | 34.5 | 169.48 | 125.51 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 22 | 108 | 0.71 | 0.80 | 0 | 0.58 | 246.28 | 0.66 | 0.25 |
| Hex | 1F | 16 | 6C | 47 | 50 | 0 | 3A | F6 | 42 | 19 |
| Octal | 37 | 26 | 154 | 107 | 120 | 0 | 72 | 366 | 102 | 31 |
| Binary | 11111 | 10110 | 1101100 | 1000111 | 1010000 | 0 | 111010 | 11110110 | 1000010 | 11001 |
Color Harmonies of #1F166C
Complementary color
Monochromatic Colors of #1F166C
Black with #1F166C
Text Example
Text Example
White with #1F166C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F166C; }
p { color: rgb(31,22,108); }
H1.HeaderClassName
{
color: #1F166C;
}
.AnyTagClassName
{
color: #1F166C;
}
</style>
background-color css
<style>
a { background-color: #1F166C; }
a { background-color: rgb(31,22,108); }
div.DivClassName
{
background-color: #1F166C;
}
.BgClassName
{
background-color: #1F166C;
}
</style>
border-color css
<style>
span { border-color: #1F166C; }
span { border-color: rgb(31,22,108); }
td.TdClassName
{
border-color: #1F166C;
}
.TagClassName
{
border-color: #1F166C;
}
</style>