The Cancer Council in Australia suggests that darker colors absorb UV rays, which helps block them from your skin. That's why dark blue, black, and dark red are the best colors for sun protection compared to white or pastel colors of the same fabric.