We have measured the cross section of the 83Rb(p,γ)84Sr radiative capture reaction in inverse kinematics using a radioactive beam of 83Rb at incident energies of 2.4 and 2.7A MeV. Prior to the radioactive beam measurement, the 84Kr(p,γ)85Rb radiative capture reaction was measured in inverse kinematics using a stable beam of 84Kr at an incident energy of 2.7A MeV. The effective relative kinetic energies of these measurements lie within the relevant energy window for the γ process in supernovae. The central values of the measured partial cross sections of both reactions were found to be 0.17−0.42 times the predictions of statistical model calculations. Assuming the predicted cross section at other energies is reduced by the same factor leads to a slightly higher calculated abundance of the p nucleus 84Sr, caused by the reduced rate of the 84Sr(γ,p)83Rb reaction derived from the present measurement.