We derive and apply the formulas for the global expansion and the asymptotic expansion of the solution of the singularly perturbed convection-diffusion equation in 2D convex polygonal domain. Under several assumptions we also prove its correctness and verify it on a few examples.