Gender blood test?

How soon can you get the blood test done for gender and Chromosomes? I’ve seen different answers starting at 7 weeks