It would be the first blue dress to get a nod for best supporting actress — definitely in the drama category.

Legendary filmmaker Martin Scorsese will direct and produce an authorized HBO documentary on former President Bill Clinton.

Bubba has agreed to fully cooperate with the Oscar-winning director of “The Departed” and “GoodFellas,” it was announced yesterday — though studio execs are tight-lipped on whether the tell-all will include salacious inside details of the Monica Lewinsky scandal.

The film will explore Clinton’s “perspectives on history, politics, culture and the world,” HBO said yesterday in a written statement, mentioning nothing of the former commander-in-chief’s sordid love life.

Clinton probably feels safe in the hands of Scorsese, who is a longtime Democrat and donor to both him and Hillary.

“Through intimate conversations, I hope to provide greater insight into this transcendent figure,” Scorsese said yesterday.

He called Clinton “a towering figure who remains a major voice in world issues.”

“President Clinton continues to shape the political dialogue both here and around the world,” Scorsese said.

Both Scorsese’s agent and HBO refused to detail the title of the documentary, when it will air, or if it will delve in to Clinton’s affair with Lewinsky, which led to his impeachment in 1998.

“This documentary, under Marty’s gifted direction, creates a unique opportunity for the president to reflect on myriad issues that have consumed his attention and passion throughout both his presidency and post-presidency,” said HBO chief Richard Plepler.

Bubba doesn’t seem worried, though.

“I am pleased that legendary director Martin Scorsese and HBO have agreed to do this film,” Clinton said in a statement yesterday.

“I look forward to sharing my perspective on my years as president and my work in the years since with HBO’s audience.”

Evidence of the affair in Clinton’s Senate perjury trial included a semen-stained dress belonging to the then-22-year-old intern and Lewinsky’s testimony about his prowess with a cigar tube. He was acquitted by the Senate.