I wouldn't ever think to match a rug and wall in the same color, but it works here. The gallery wall breaks up the wall from being a giant panel of blue. The burgundy curtains and accents throughout the room complete the jewel toned palette.
Do you or have you ever had a dark living room? Did you like it?