Use 'consist in' when emphasizing the elements forming a whole, especially in abstract concepts. The charm of the city consists in its vibrant art scene.
Pro Tip 2/3
Abstract Quality
'Consist in' is suitable when discussing non-physical qualities such as ideas or feelings. True happiness consists in contentment.
Pro Tip 3/3
Cultural Nuance
This phrasing is more common in formal contexts and may sound overly formal in everyday speech. The code of conduct consists in three fundamental principles.