I am assuming that the -I inductive effect in 2,3-dinitrophenol is stronger than in 2,4-dinitrophenol since it operates through less bonds, therefore on inductive grounds it should have a lower $\mathrm{p}K_\mathrm{a}$?
However it's unclear to me whether there are any differences in π-resonance effects. Any help?