The Longest Journey time wise would be on the district line because it goes to 80 stops and takes about one and a half hours.
The Elizabeth line goes from Reading("reding") to Shienfield in Essex, 100 kilometres or 62 miles. (You would need to change trains at one of the tube stations to get to Shienfield.) It acts like a tube line for part of the journey but is more like a commuter train. It covers the whole journey in less than 1 and a half hours