The amount a stat is trained is highligthed orange if it is not fully EV trained. A fully EV trained Pokemon will display in blue. I believe you need to 2 more defense EVs because if 252 were to go into attack and speed, then then there would be 6 EVs left to use.
Source: Basic knowledge and calculations.