Baldwin V of Hainaut (1150–December 17, 1195) was a regional ruler whose titles included count of Hainaut, margrave of Namur, and count of Flanders. He became count of Hainaut in 1171 and acquired Flanders through his 1169 marriage to Margaret I, a widowed third cousin once removed.
His claim to Namur was linked to his mother, Alice of Namur. When his uncle, the count of Namur-Luxembourg, was gravely ill and blind in the winter of 1182 or 1183, Baldwin visited him in Luxembourg. His uncle reaffirmed Baldwin as heir, and Baldwin received the homage of several vassals. Emperor Frederick I Barbarossa confirmed the succession on May 22, 1184, at the Diet of Pentecost in Mainz, where Baldwin served as imperial sword bearer. He became margrave of Namur as Baldwin I in 1189.
In 1191, Baldwin also became count of Flanders as Baldwin VIII. Known as “the Count Baldwin with eyes of blue,” he was buried at the monastery of Saint Waudru, before the altar of Blessed James the apostle.
With Margaret, Baldwin had 8 children: Isabelle, who married King Philip II of France; Baldwin VI, who became count of Flanders and Latin Emperor; Yolanda, who married Peter II of Courtenay; Philip I of Namur; Henry, who became Latin Emperor; Sybille, who married Guichard IV, Sire de Beaujeu; Eustace, regent of the Kingdom of Thessalonica; and Godfrey of Hainaut.