With a single blue hat, its wearer sees two white hats and speaks at once. With two, each blue wearer sees a blue hat, waits, and when nobody speaks works out his own must be blue, so they speak soon. Only three blue hats keep them all quiet that long. The silence is the clue.