The influence of shell effects on fusion of mid-mass nuclei is explored using isotopic chains of K and Ar ions on an oxygen target. Comparison of the reduced excitation functions reveals that the fusion cross section for the open neutron-shell projectile nuclei $^{41}\mathrm{K}$ and $^{45}\mathrm{K}$ is systematically larger than for the closed neutron-shell projectiles $^{39}\mathrm{K}$ and $^{47}\mathrm{K}$. The S\~ao Paulo fusion model using matter densities from systematics fails to describe the measured excitation functions. Use of more realistic densities from a Dirac-Hartree-Bogoliubov (DHB) approach performs significantly better though it still overpredicts the closed-shell nuclei.