Looking at the individual kanji according to a dictionary:
丈 means height, stature, length
夫 means husband, man
大 means big, great
They seem unrelated to what these words using the kanji mean:
丈夫 means healthy, strong
大丈夫 means safe, all right, okay
How did these words end up with these meanings?