"Good night", "sleep well", which one is more formal, which one is more intimate? [closed]

"Sleep well" would be more intimate.

While "Good night" can be used in both formal and informal settings, it is not as personal as "sleep well".

If you are not sure of the formality of a situation, preferably use "good night".