You asked

Is the sigma 24mm f 2 dg contemporary good in low light?

The Sigma 24mm f/2 DG Contemporary is a good choice for low light on a full-frame body. Its f/2 maximum aperture lets in plenty of light, and sensor sizes explains that a full-frame sensor gathers roughly a stop more light than APS-C at the same framing and f-number, so the two advantages combine. The lens page lists it for Sony E and L-Mount, and it fits many full-frame bodies.

What it gives up is stabilisation. The lens isn't stabilised, so in dim light you'll need a faster shutter speed or a camera with in-body stabilisation to keep handheld shots sharp. Stabilisation steadies the camera, not a moving subject, so for fast action the aperture and sensor matter more.

Good full-frame bodies to pair it with, all of which it fits, include the Sony a7 III, the Sony a7 IV and the Panasonic Lumix S5 II. Each is a full-frame body that suits this lens. The guide doesn't give a price for this lens in the material it has, so check current prices on each camera's page.

On an APS-C body such as the Sony a6400, the lens frames like 36mm and f/2 behaves like f/3 for depth of field. You'd lose about a stop of low-light advantage, so it's a weaker low-light setup there.

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}.