A gap theorem for the complex geometry of convex domains