Write for the standard generators of the sl2 Lie algebra. For the representation , use the normalization
This is the quadratic Casimir element, and by assumption it commutes with every .
Schur lemma says that an endomorphism of a finite-dimensional irreducible complex representation which commutes with the representation is a scalar. Hence when is irreducible.
Let be a highest-weight vector of highest weight , so and . Since ,
Therefore
It follows from scalarity that
This is the Casimir eigenvalue for sl2 in the chosen normalization.