Presumably we don't want + - power supply for the amplifier.
So it will work from 5V. Thus, however, its output can never reach two values.
One is zero and the other is 5V. :)
It approaches a couple of ten mV, but never reaches.
To be accurate at the two extremes, the gain must be slightly reduced.
This will also be good here because we can use 10x gain.
The average value of the input voltage is 2.425 V.
We try to set this on the inverting input with resistors (14k, 14.953k).
Then the gain with resistors R3 and R8.
We get quite unusual values, so we use series resistors.
Thus, the 2.2V input will be 240mV and the 2.65V input will be 4.74V.

You can already find a lot of amplifiers that meet these requirements.
However, you should search among the RRO types.
Of course, it is not necessary to select the type used in the model.
There is even a spare in case the supply voltage is not exactly 5V.