This paper establishes a conjecture of Gustafsson and Khavinson, which relates the analytic content of a smoothly bounded domain in R-N to the classical isoperimetric inequality. The proof is based on a novel combination of partial balayage with optimal transport theory. (C) 2018 Elsevier Inc. All rights reserved.