A gray that suits a blue shadow can look wrong on a warm wall. Make one neutral-looking puddle first and adjust part of it in each direction rather than starting three new mixtures.
Quick answer: Start with Ultramarine Blue and Burnt Sienna. Add sienna gradually until the blue looks close to neutral in a pale swatch. Split the mix and add a little blue to one portion and a little sienna to the other.

Find neutral at the value you’ll paint
Make separate pools of ultramarine and burnt sienna. Add sienna to a small portion of blue in steps. Brush a narrow stroke from each stage onto scrap, then drag clean water through its end to reveal the undertone. Let it dry. A mixture that looks black in the well can still dry noticeably blue or brown. Jane Blundell uses this pair for Daniel Smith’s Jane’s Grey; your amounts can differ with the pigment strength and formulation.
Shift the undertone before changing the value
Divide the closest neutral into three wells. Keep one as a reference, push one toward blue, and push the other toward sienna. When the undertone is right, dilute a portion for a pale passage or remix with less water for a dark one. Don’t keep adding the opposite pigment just because a puddle is too dark; that changes the paint ratio, not only the value.
Choose by looking beside the subject color
Paint the three dry swatches beside a stripe of the color the gray will touch. A neutral gray can look cooler beside ochre than beside ultramarine. If the mix dries with blue specks or a two-color edge you don’t want, test it as a small flat wash on the actual paper, then try a different blue–brown pair instead of working the wash repeatedly. See how to identify granulation.