There are
867 mi
from Ogden, UT to Lompoc, CA
That's the driving distance. It would take 15 hours 27 mins to go from Ogden, Utah to Lompoc, California.
The flight distance (direct flight from Ogden, UT to Lompoc, CA) is 648 mi.
867 mi = 1,394.49 kms