This is from Buell, Binary Quadratic Forms. From page 84, the class number for a negative discriminant $\Delta$ is about $$\frac{\sqrt{|\Delta|}}{\pi},$$ which comes from an $L$-function calculation on page 83.
Let's see, on page 101, he points out that for negative field discriminants, class group and narrow class group are identical. Then on page 103, the group of classes of binary quadratic forms is isomorphic to the narrow class group. So that works out.
I don't know about surjectivity of class numbers. I imagine so.