Correction: The question asks between Denzel Washington and Tom Hanks. Meryl Streep (21) has the most overall, but between these two:
Denzel Washington has more Oscar nominations (10 vs. 6).
Note: Streep holds the all-time record (21 nominations, 3 wins).