Fetching details from the dictionary...

dimly; faintly; indistinctly; vaguely
absentmindedly; vacantly; carelessly
idly; aimlessly
absence of mind; fool; blockhead; dunce
遠くの景色がぼんやり見える。
The distant scenery is dimly visible.
ぼんやりと考え事をしていた。
I was vaguely lost in thought.
昔のことで記憶がぼんやりしてよく覚えていない。
My memory is vague.