So long as the ram within the matched pairs are the same specs you should be fine.
In the bad old days of DDR2 you would have to be a lot more careful but DDR4 is much more tolerant. You can even at a pinch use different brands of ram of similar specs in dual channel mode with DDR4 which would have crashed your system with DDR2.