You asked

Is the sigma 28 45mm f 1 8 dg dn art a good portrait lens on an a6400?

The Sigma 28-45mm f/1.8 is a good portrait lens on the Sony a6400, with one limit. On this APS-C body it frames like 42-68mm, and its f/1.8 gives about the depth of field of f/2.7. That is enough to blur a background behind a person, and it sits close to the 56mm f/1.2 to f/1.4 that the portraits guide names as the APS-C equivalent of the classic 85mm. It suits half-length and environmental portraits, where you want to show the setting, and small groups. For tight headshots, the guide notes that longer lenses flatter faces better, so you may want more reach.

The a6400 has no in-body stabilisation, and this lens isn't stabilised either. For people in dim rooms, the wide aperture matters far more than steadying the camera. Background blur also grows as you move closer to your subject and away from the wall behind them, so placement often helps as much as the lens.

If you want longer reach, the a6400 page lists the Sigma 50-120mm f/2.8 DC OS Contemporary, which frames like 75-180mm, for tighter headshots at the same f/2.8 brightness. The Samyang AF 60-180mm f/2.8, which frames like 90-270mm, suits outdoor headshots with room between you and your subject. Both are slower to work with indoors than the Sigma 28-45mm. Prices for these lenses aren't covered here, so check the catalogue pages and the shops linked there before buying.

For the body itself, see the Sony a6400 page.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.