"At dinner recently, a friend of mine went through the list of leading men I've kissed: Chris Noth, George Clooney, Pierce Brosnan, Aidan Quinn, Matthew McConaughey ... I realized I've been very lucky," Margulies, 44, tells Britain's You magazine.
"But my husband is very secure in himself. He knows he has nothing to worry about. To me, none of them compare to him – he's really rather yummy."
Margulies and Keith Lieberthal got married in November 2007 and had a son, Kieran, a few months later. From the vantage point of happy family life, Margulies now looks back at her younger years and wonders why she wasn't a little more free-spirited.
"Because I come from divorce, and because I saw my mother go through many lovers, I always felt that I had to stay in just one relationship for a long time," she says. "And without wishing to take anything away from those experiences, which I enjoyed at the time, I wish that I had allowed myself to play a little more, and not be so serious."
She adds: "I wish I had known in my 20s that I was going to meet the right man and have a child, and that I didn't always have to worry about it and always be the good girl."
But there's little reason to dwell on the past – not with a husband who helps her relish the here and now. "He knows how to have a good time, how to enjoy life the right way," Margulies says. "He is a deep thinker, but he knows, too, that life is short. He is a man who understands what a good meal and a decent bottle of wine can do."