Compound is most basic due to localised lone pair of electrons on nitrogen atom While in other compounds, because of resonance, the lone pair of electrons on nitrogen atom gets delocalised over benzene ring and thus is less easily available for donation.