A 3.8-magnitude earthquake rattled Ventura County Tuesday night, according to the US Geological Survey.