You can have defects and still get accepted. If you have something truly amazing about yourself, you don’t necessarily need a 4.0 or 2300+.
To the OP, generally for Ivy leagues, you want your stats like GPA and SAT to be at least the average. The average for Ivies is 2220 so getting a 2250+ is ideal. Getting below average isn’t horrible, but you need some extraordinary accomplishment elsewhere to make up for it. A 2250+ SAT is considered “safe” for Ivies and it shows that you possess academic prowess and you’ll get past the first round of admissions.