Your guess is correct. Denote $\chi(G)=k$. Then $G$ contains a subgraph with all degrees at least $k$. Clearly it has at least $k+1$ vertices, thus at least $k(k+1)/2$ edges.