On a clear winter day, sunlit snow may look nearly white while the shadow of a tree looks blue. The snow has not changed material across the shadow boundary. What changed is the light reaching it: direct sunlight is blocked, but blue-rich light from the open sky still arrives. The contrast against warmer sunlit snow can strengthen that blue appearance. It is the outdoor counterpart of a white wall changing color as its light changes.

Short answer

The shadow is lit by the sky.

Sunlit snow receives direct sunlight plus skylight. Shadowed snow loses the direct beam but still receives scattered light from the blue sky. Simultaneous color contrast can make the shaded area look even bluer beside the brighter, warmer snow.

A shadow is not the absence of all light

A tree blocks a particular path from the sun. It does not seal the snow inside a dark box. Much of the sky remains visible from the shadow, and every visible part of that sky can illuminate the surface. Because air molecules scatter shorter visible wavelengths strongly, clear skylight has a blue bias.

Outside the shadow, direct sunlight is usually much brighter than skylight and dominates the mixture. Inside it, the weaker sky contribution becomes the main illuminant. Research on outdoor blue shadows identifies blue skylight as one principal cause, with simultaneous color contrast adding a perceptual boost.

The same white surface under two light mixturesIllustrative HTML colors, not spectral measurements
Sun + sky#F4F0E7Direct light dominates
Sky only#B8CBE2The blue bias is exposed

The chosen HEX values demonstrate the relationship only. Real snow color depends on weather, exposure, surroundings, camera processing and display calibration.

The neighboring sunlight makes blue look stronger

Your visual system judges regions in relation to their surroundings. A cool patch beside a slightly warm, high-luminance patch can appear cooler than the same patch viewed alone. This is simultaneous color contrast. Near sunset, when direct sunlight is warmer, the warm–cool separation may become especially conspicuous.

That does not mean the blue exists only in your head. The light in the shadow really is spectrally different. Perception then interprets and often amplifies a physical difference. Separating those two contributions is useful whenever people argue that a color is either “real” or “an illusion.” It can be both physically caused and contextually strengthened.

Blue snow and blue shadows are not the same effect

Deep snow or compact ice can also look blue without sitting in a cast shadow. As light travels through ice and snow, longer wavelengths are absorbed more strongly over distance, leaving more blue light to return. That is a material-path effect. A blue cast shadow on the surface is mainly an illumination-and-context effect.

The distinction is easy to test conceptually. Move the object casting the shadow and the surface-blue region moves with it. Look into a deep crevice and the blue may remain tied to the depth of the snow itself.

Why a phone may make the shadow electric blue

Automatic white balance tries to decide what illumination should count as neutral. A scene containing warm sun, cool shade and a huge white surface gives the camera competing evidence. If it neutralizes the sunlit snow, the shaded region may be rendered strongly blue. If it neutralizes the shade, the sunlit snow may become yellow.

This is similar to the processing conflict that can make purple flowers turn blue in a phone photo. To record the scene faithfully, compare the image with the snow while you are still there, avoid extreme filters and remember that a single white-balance setting cannot neutralize two differently colored illuminants at once.

What to notice on the next clear snow day

Compare a shadow under open blue sky with one beneath a porch or dense evergreen. The more sky the surface can see, the stronger the sky contribution can be. Then compare a photograph with the view itself. You are not testing whether snow is “really blue.” You are identifying which light sources reach a white reflector, and how a camera and visual system interpret their mixture.