The colors are related to your Nature. They are an aid to show which stat gets raised and which gets lowered. Red means the stat is raised, while blue means the stat is lowered.
They started it in HG/SS and do the same in Black/White too.
This is a little confusing because red usually means danger or bad. I remember it as red=hot, blue=cold.