Edward Michael Luby, 64, a tired Navy captain who was a private tax consultant in McLean, died of cancer Sunday at the Bethesda Naval Hospital.

Capt. Luby was born at Kingston, N.Y. He graduated from the U.S. Naval Academy at Annapolis in 1938. During World War II, he served on destroyers in the Atlantic and the Pacific.

Subsequent assignments included the command of the Uss Somers, a destroyer, Destroyer Division 22, and Destroyer Squadron 9. Her also served on the cruisers Roanoke and Salem.

His stations ashore included Washington, where he served in the Bureau of Personnel in the Navy Department from 1947 to 19d49 and again from 1952 to 1954, London, England, and Washington again. From 1964 to 1966, he was on the staff of the Joints Chiefs of Staff. His final assignment before his retirement in 1968 was on thestaff of the Military Sea Transport Service in Washington.

Capt. Luby was a graduate of the Armed Forces Staff College and the Naval War College. After he left the service he remained in the Washington area, began a private tax consultant business and studied accounting. He became a certified public accountant last year.

Survivors include his wife, Betty, of McLean, two daughters, Michelle Eldredge of Arlington, and Maureen Woodhouse of Remy, P.R.; a brother, Donald, of Kingston, and two grandchildren.