A refractive x-ray lens was characterized using a magnifying cone beam setup for differential phase contrast imaging in combination with a microfocus x-ray tube. Thereby, the differential and the total phase shift of x rays transmitted through the lens were determined. Lens aberrations have been characterized based on these refractive properties.