Herbert B. Leggett, 67, a retired Foreign Service Officer and a senior data analyst for the Planning Reserach Corp. in McLean, died Tuesday at Arlington Hospital. He had a heart ailment.

Mr. Leggett joined the State Department after World War II. In the 1950s and early 1960s, he was the department's officer in charge of Central American and Panamanian Affairs. He also served at diplomatic posts in South America, Australia, Japan and Afghanistan before retiring in 1974.

He then joined Planning Research Corp., where he was employed at the time of his death.

Mr. Leggett was born in Ashtabula, Ohio, he graduated from the university of Michigan and earned a master's degree in history from the University of California at Berkeley.

He served as a Navy lieutenant in both the Atlantic and Pacific theaters during World War II. He was a graduate of the National War College.

He lived in Arlington and was a member of the University Club here and the River Bend Golf and Country Club in Great Falls.

Survivors include his wife, Genevieve H., of Arlington; a daughter, Jennifer Heath of Boulder, Colo.; a son, Lawrence E., of Woodbridge, and two grandchildren.

The family suggests that expressions of sympathy be in the form of contributions to the American Heart Association.