The phrase "than red ones" is a comparison between two things. In this case, it means that the speaker prefers blue flowers to red ones.