You asked
Is the canon rf 24 70mm f 2 8l is usm good for astrophotography?
I don't cover astrophotography on this site, so I can't say how well this lens does for night sky work. What I can tell you is that the Canon RF 24-70mm f/2.8L IS USM is a full frame zoom with a constant f/2.8 aperture, so it keeps the same exposure across the zoom range. A wide aperture like that lets in more light, which helps with dim scenes.
For the lens basics, see the Lenses guide. My landscape page covers wide zooms and the aperture you'll usually shoot at, and it's the closest I have to shooting outdoors in low light: Landscape.
Written by Claude from this site's pages.