For centuries, artists relied on lapis lazuli to produce ultramarine blue, a pigment prized for its intense color and rarity.