What is the best university I can get into with my gpa?

Hello forums, I was just wondering if anyone could tell me the bet option for me to go to a university since my gpa was messed up sophomore year. It was the year I tried to juggle too many hard classes and a sport, and I just fell apart. But, Junior year I came back strong, and I am planning to continue with that this year. At the beginning of high school I was yearning to go to a UC, but I understand I probably won’t be getting into one anymore. If anyone could let me know what CSU’s I could be looking at that would be great and much appreciated!!!

GPA’s:
Freshman Year: 3.28
Sophomore Year: 2.08
Junior Year: 3.66
Senior Year: (aiming for the 4.0)

SAT score: 1640(retaking in November)
ACT score: taking it today lol

Also if anyone could let me know if the classes I took matter at all, and or which classes should be counted in my gpa for each semester(electives,sports,etc.)

Thank You For Your Time

Calculate your UC/CSU GPA; http://rogerhub.com/gpa-calculator-uc/
There is a link that lets you look up your a-g courses for your HS needed for the calculation. Then take your SAT Math and CR scores and plug them into the eligibility index calculation.
(CSU GPAx800) + (SAT M+ CR)
What is your intended major and do you have a good explanation for your low grades Soph year? These can be explained in the UC essay.