One MIGHT get away with a 55L backpack, but 40L would be much more reliable. Carry-on limits are defined by total linear inches, typically 45 or fewer, also maximum dimensions particularly length, generally 22 inches. 22 x 13 x 9 is 2574 cu. inches, 42L.