I guess both models use around a maximum of 13 watts per device.
The 2530 8 ports switch only provides 67 watts PoE.
67/13 = 5,1 so you can use 5 devices.
You always need to count the maximum power usage, unless you are planning to limit the capabilities of the access points.
Practically you will use less power off course, but the only way to find out is testing this. You will also have a bit of extra consumption (max 1 watt per line) when the ethernet lines are long distance.