An oil tanker carrying up to 7,000 tons of diesel fuel capsized off the coast of Ibiza, killing one crew member, authorities said.