Is h a vowel?

Apparently its a consonant but when h goes silent it is a vowel. Alas you would say an in front of hour