Blue is a relatively rare color for birds. It is not a result of pigmentation, like some other colors. Instead it is an example of what scientists call a structural color because it’s generated by light interacting with a feather’s 3-D arrangement. Different shapes and sizes of air pockets and keratin in the feathers make different shades of blue.”
Read more on Mother Nature Network here.