편하다: to be convenient, to BE comfortable
편안하다: to FEEL comfortable, safe, relaxed, with ease of mind.
Also worth noting is "편리하다" which also means "to be convenient" where "리(利)" means "benefit" or "gain".
It's an expression for something very specific such as functionalities, rule, system, etc