Learning to match your shirts and ties together so they work well may be an art, but it's one you can learn. This infographic from men's designer footwear company Beckett Simonon shows you how to mix the riskiest kinds of shirts and ties: ones with patterns.
The graphic offers examples for a few rules of thumb, such as starting with the primary colour of your shirt and pairing large patterns with smaller ones. One piece of advice I'm not so sure about is the tip to always wear a tie darker than your shirt (what if you're wearing black?), but otherwise, these tips could help you avoid looking like an optical illusion.
Here's the full cheat sheet for your pattern-combining reference:
How to match shirt and tie patterns [Beckett Simonon]