One ship and one shore base of the Royal Australian Navy have been named HMAS Leeuwin, after Cape Leeuwin in Western Australia.