Electronic correlations in twisted bilayer graphene near the magic angle