Base Color error when blending materials

I’m working on a landscape material using triplanar functions and blend the material with masks. However when I blended two materials together, the base color of one of the materials turned blue. I have no idea why this happens.
Curiously, on itself the material is fine, only when I blend it with another, the base color looks so weird.