AIM Chapter 5 Section 2
Obstacle clearance is based upon an aircraft climbing at least 200 ft/nm crossing the end of the runway by at least 35ft agl, then climbing to 400ft above the airport elevation before turning unless otherwise specified in the departure procedure.
FAA Part 25
At V2 with 1 engine out, you are guaranteed 2.4% gross, 1.6% net climb gradient. 400ft is the start of the third segment of the climb profile certification.
Cheers
KW