Colors which are opposite each other on the color wheel, like blue and yellow have a nice vibrant feel. Contrasting colors make each other stand out, not in a jarring way but in a way that plays each other off. But choosing contrasting colors it means that you shouldn’t go beyond these two colors. More than that, it will just end up looking massively crazy and confusing.
When using contrasting colors, choose the main color first. Then, play it off with accents of a contrasting color. An example would be painting the main walls blue. And then, painting a trim or feature wall yellow. This is a more modern approach to color choice and works best with modern house designs.