Blue eyes get their color the same way water and the sky get their blue color. They scatter light so that more blue light reflects back out.
Your Blue Eyes Aren’t Really Blue

Blue eyes get their color the same way water and the sky get their blue color. They scatter light so that more blue light reflects back out.