Using ANY supply as a reference voltage is a bad idea.
Because a load on the supply will change its value.
Here you will find a full and detailed explanation of good ways to measure all sorts of voltages.
as @ZX80 says,
As a start you can use the INTERNAL reference and a potential divider to scale your input to suit it.