Both indicate that something is physically fit to be read.

BUT:

legible  ~ essentially limited to this meaning, whereas

readable refers to "accessibility"
e.g. , His text was very readable.

illegible not legible (Compared with ineligible= not qualified).