The phase matching of quantum paths in high-order harmonic generation is investigated in a two-color laser field. Our results show that the phase-matching properties of the short and long trajectories can be modulated effectively by adding a weak second harmonic field. This scheme can not only achieve the quantum path selection, but more importantly it can achieve on-axis phase matching for both of the two trajectories simultaneously. A bright interference pattern induced by the simultaneously phase-matched two trajectories can be observed by placing a near-field on-axis filter, which has great potential for experimentally characterizing the full single-atom dipole moment.