The U.S. economy registered subpar growth and low inflation in the first half of the year, factors that led the Federal Reserve Wednesday to keep its easy-money policies in place.

The Commerce Department reported Wednesday that the economy grew at a 1.7% annual rate in the second quarter, enough to ease fears of a full-on summertime economic stall but still a sluggish pace by historic standards. Economists had feared tepid global...