We describe a generalization of the classical Julia-Wolff-Caratheodory theorem to a large class of bounded convex domains of finite type, including convex circular domains and convex domains with real analytic boundary. The main tools used in the proofs are several explicit estimates on the boundary behaviour of Kobayashi distance and metric, and a new Lindelof principle.