In that formula for Energy, 'F' is the frequency of the photon.
But Frequency = (speed)/(wavelength), so we can write the
Energy formula as
E = h c / (wavelength) .
So the energy, in joules, of a photon with that wavelength, is . . .
E = (6.6 x 10⁻³⁴) x (3 x10⁸) / (that wavelength)
= (1.989 x 10⁻²⁵) / (that wavelength, in meters) .