法 is just law. It can be the Nature Law or laws under a constitution.
法律 means only the legal laws.
律 originally means rules or patterns of music, and later it expanded its meaning to general rules.
The major difference is that 律 is much less official than 法 when we are talking about legal issues.
However, neither 法 nor 律 appears in daily usage. We just use 法律 as a single word.
Hope that helps!