I recently started playing a warlock in our game, and I thinkgame; there is one spell or combination of spells that gets overlooked.
If your DM allows Xanathar's GuideXanathar's Guide to Everything, look into Tollconsider the Dead. It's a cantrip thatToll the Dead. It can keep up with or even exceed Eldritch Blast depending on the combat situation.
TtD does 1d8 damage with a WIS save or 1d12 if the target has taken damage. The number of dice scales at the same rate as EB, and the. The spell pairs well with Hex if you choose to give disadvantage on WIS saves. Obviously, this doesn't get you in melee range, but I think it's one way to make a warlock a little more versatile than just spamming EB.