Yeah, it’s simultaneous contrast, works on both value and color. I was taught to use it in first year design class.
This guy covers largely the same thing. He does it with pieces of colored paper, we did it with gouache.