Andrew Luck passed for 164 yards while facing his college coach, Jim Harbaugh, for the first time, and the Indianapolis Colts defeated the San Francisco 49ers 27-7 on Sunday.