Walk into the middle of a group of civilians and match their pace. Keep close and stay level with them, and a pattern of white dots and lines appears on the ground around you.
As long as you remain inside that marked area, you stay blended and guards lose interest. It breaks down immediately if you've just killed someone or been spotted, since the crowd scatters rather than sheltering you.