A sense of economic gloom gripped Washington as the Federal Reserve chairman warned of the risks of a long slowdown.