The Nasdaq was the only major U.S. stock index to lose ground on the day.

Market-leading growth stocks, which thrived amid pandemic-related lockdowns, weighed on stocks for much of the day as investors favored shares that stand to gain most as ongoing vaccine deployment allows economic restrictions to be lifted.

"People are buying the dip, a move that's been rewarded for months in a one-sided market," said Dennis Dick, head of market structure and a proprietary trader at Bright Trading LLC.

"It's tough to be a bear, it's really tough. The only fear out there is the fear of missing out," Dick said.

Fed Chairman Jerome Powell pushed back against concerns that the central bank's economic support increased the risk of spiraling inflation, and insisted that the central bank's accommodative monetary policy would remain in place for "some time."

Testifying before the Senate Banking Committee, Powell said the economic recovery was "uneven and far from complete," adding that investors are mostly responding to an anticipated rebound as vaccine deployment curbs the pandemic.

"People took his words to heart. It made them go back to their buying lists," said Chris Zaccarelli, chief investment officer at Independent Advisor Alliance in Charlotte, North Carolina. "For people with cash on the sidelines waiting to put it to work maybe his interview this morning gave people a little confidence to go back to drawing board and put money to work this afternoon."

The Dow Jones Industrial Average rose 15.66 points, or 0.05%, to 31,537.35, the S&P 500 gained 4.87 points, or 0.13%, to 3,881.37 and the Nasdaq Composite dropped 67.85 points, or 0.5%, to 13,465.20.

Of the 11 major sectors in the S&P 500, seven closed in positive territory, but consumer discretionary and tech shares suffered the largest percentage losses.

Tesla Inc lost 2.2% to close in negative territory for the year, pulled down amid the tech selloff and falling bitcoin, which lost 12.0%. Tesla recently invested $1.5 billion in the cryptocurrency.

Cryptocurrency miners Riot Blockchain Inc and Marathon Patent Group Inc plunged 24.6% and 23.0%, respectively, while bitcoin bank Silvergate Capital Corp slid 20.1%.

Home improvement retailer Home Depot Inc posted better-than-expected quarterly earnings. But it cast doubt on whether spiking sales, driven by homebound consumers taking on do-it-yourself projects amid COVID lockdowns, are sustainable going forward. Its shares were the heaviest drag on the Dow, falling 3.1%.

Smaller rival Lowe's Companies Inc, expected to report its results early Wednesday, also lost ground.

Declining issues outnumbered advancing ones on the NYSE by a 1.59-to-1 ratio; on Nasdaq, a 2.58-to-1 ratio favored decliners.

The S&P 500 posted 51 new 52-week highs and no new lows; the Nasdaq Composite recorded 171 new highs and 54 new lows.

Volume on U.S. exchanges was 16.52 billion shares, compared with the 16.06 billion average over the last 20 trading days.

(This story changes closes to close in headline)

(Reporting by Stephen Culp; Additional reporting by Herbert Lash and Sinead Carew; Editing by Cynthia Osterman)

By Stephen Culp