Tilden
Clinton beat Trump by a large margin, by electoral standards. A couple of percent is actually a lot these days. Yet so far it appears that Trump won the electoral vote, even though those votes are not yet cast and who knows what is actually going to happen.
But this year, strange as it it and stranger thought it may become, is not the strangest ever. That goes to 1876.
Wow.