Formal:
* Спокойной ночи (Spokoynoy nochi) - This is the most common and formal way to say goodnight. It literally translates to "Peaceful night."
Informal:
* Доброй ночи (Dobroy nochi) - This is a more casual and friendly way to say goodnight. It literally translates to "Good night."
* Спать спокойно (Spat' spokoino) - This is a more intimate way to say goodnight, meaning "Sleep peacefully."
* Ладно, спокойной ночи (Ladno, spokoynoy nochi) - This is a more casual way to say goodnight, meaning "Okay, goodnight."
With loved ones:
* Сладких снов (Sladkikh snov) - This translates to "Sweet dreams."
* Я тебя люблю, спокойной ночи (Ya tebya lyublyu, spokoynoy nochi) - This translates to "I love you, goodnight."
The best way to choose the right phrase depends on the person you are talking to and the context of the situation.