I used to get night terrors when I was a tween/young teen, and had a lamp with a blue bulb, so I know it works.
(at some point I realized I was the scariest thing in the dark, and it no longer bothered me, lol).