The number of white T-shirts is 2 × 5 = <<2*5=10>>10.
The number of blue T-shirts is 4 × 3 = <<4*3=12>>12.
The total number of T-shirts is 10 + 12 = <<10+12=22>>22.
Maddie spent $3 × 22 = $<<3*22=66>>66 in all.
#### 66