Are these basically the same memory can I use them together on Z370?

I already have these in dual channel:

CMD16GX4M2B3000C15
Corsair-Dominator.jpg


I want to add these to fill all 4 slots:

CMR16GX4M2C3000C15W
2885884-a.jpg


Will it work with no issues? Will they overclock together?
 
Solution
They are not the same memory but yes you can use them together and overclock them no problem. Just set them all to the slower timing of the 2.