The best, and most accurate method is by getting a look under their abdomens. The male's abdomen will be clear or yellowish in color, lacking any blue spots. The female will have obvious blue spots under her abdomen and usually the very telling egg mass as well.
note**
Info and pics are from chucksaddictiondotcom