In blue-light photoreceptors using flavin (BLUF), the signaling state is formed already within several 100 ps after illumination, with only small changes of the absorption spectrum. The accompanying structural evolution can, in principle, be monitored by femtosecond stimulated Raman spectroscopy (FSRS). The method is used here to characterize the excited-state properties of riboflavin and flavin adenine dinucleotide in polar solvents. Raman modes are observed in the range 90-1800 cm(-1) for the electronic ground state S(0) and upon excitation to the S(1) state, and modes >1000 cm(-1) of both states are assigned with the help of quantum-chemical calculations. Line shapes are shown to depend sensitively on resonance conditions. They are affected by wavepacket motion in any of the participating electronic states, resulting in complex amplitude modulation of the stimulated Raman spectra. Wavepackets in S(1) can be marked, and thus isolated, by stimulated-emission pumping with the picosecond Raman pulses. Excited-state absorption spectra are obtained from a quantitative comparison of broadband transient fluorescence and absorption. In this way, the resonance conditions for FSRS are determined. Early differences of the emission spectrum depend on excess vibrational energy, and solvation is seen as dynamic Stokes shift of the emission band. The nπ* state is evidenced only through changes of emission oscillator strength during solvation. S(1) quenching by adenine is seen with all methods in terms of dynamics, not by spectral intermediates.