I have very little to go on.
There a character called Trevelyan, but likely not the main character.
It is almost certainly a 20th century book, rather than 19th.
It was read by my mate in the mid 60s; he was about 10 but had a very high reading age, so it may have been aimed at early secondary school kids, rather than older primary.
Does it ring a bell for anyone?