Hard to top Washington-Adams-Jefferson-Madison-Monroe. Hell I'd even extend that to Washington-Adams-Jefferson-Madison-Monroe-JQA-Jackson.
JFK wasn't a particularly good President. His legacy punches far above his accomplishments because he was a young, handsome playboy who got assassinated.
Madison's presidency was defined entirely by starting an unnecessary war and then losing that war. It was a miserable failure from any ideological perspective and easily breaks that streak no matter what criteria you're judging the presidents on.