I would think so. Intel DDR4 boards and CPUs have been around for a long while, pretty much what that memory was made for.
I don't think it wouldn't be compatible with Ryzen either. Worst case a manual setup at DDR4 2400 ought to work. But if these are recent purchases, why not return them? (Or did you get a really good deal on the memory?)