A preliminary 2.8 magnitude earthquake struck near Orinda Tuesday night, according to the United States Geological Survey.