Ref: post #33 by Durka..................... not the OP.
Section 430 of the NEC has a table for single phase motor amperages based on hp and voltage. It says that a 5 hp motor at 230v is 28 amps.
The code says to size the breaker and circuit using the table in the code, and not the FLA on the motor, even though it will nearly always be lower. Use the table amps to size the wire, hence, #10 or you could go #8 (depends on the type of wire you are using). To size the breaker, you are allowed to go as large as 250% of the table amps, thus 70 amps max on a breaker, or 175% on time delay fuses, 49 amps, or 50 amp TD fuses. The smaller the breaker, the better, so long as you don't blow it on motor startup. It stands a better chance of protecting the circuit. Since you have a 21.5 amp FLA I would use a 30 amp breaker and see how it works. They are cheap, $7 or $8, so why use the larger one?
Also remember, you must have a disconnect at the compressor if it is more than 50 ft straight line distance, or is not in line of sight from the breaker panel. (code actually says line of sight, however, code defines "line of sight" as out of sight or a distance of more than 50 ft.
In this case, a plug will not suffice as a disconnect, since there are no typical flat blade plugs that are motor rated at more than 3 hp, even though they may be more than the necessary amp capacity.
Charles