A Pommie says, two AAs is unlikely to work, or for more than a very brief time.
Even three will have a short life, as "1.5V" batteries start out at around that but steadily drop in voltage over their life, to near enough 1V before considered used up.
You could use a little "boost" type regulator module such as one of these:
Find many great new & used options and get the best deals for 5Pcs 2V-28V Output 2A DC-DC MT3608 Step Up Boost Power Supply Regulator at the best online prices at eBay! Free delivery for many products!
www.ebay.co.uk
That should work from two cells, from new all the way down to 2V input when they are dead.
You can set the output voltage to eg. 3.5V, about half a volt more than the LED voltage so minimum power wasted in the resistors, and you should get constant brightness regardless of battery state.
You could then use a 27 Ohm resistor for each LED & vary the brightness by adjusting the module output voltage slightly.
Make sure you set the output down to 3.5V or less before connecting the LEDs, as it could be set for anything when you get it & things start smoking...