Preheat oven to 425°F. Line a baking sheet with parchment paper.
Place halved red bell peppers, tomatoes, and garlic on the baking sheet. Drizzle with 2 tablespoons of olive oil and season with salt and black pepper.
Roast for 25-30 minutes until the peppers are charred and the tomatoes are soft. Remove from the oven and let cool slightly.
In a large pot, heat the remaining 1 tablespoon of olive oil over medium heat. Add diced onion and sauté until softened, about 3 minutes.
Transfer the roasted peppers, tomatoes, and garlic to the pot. Pour in the vegetable broth and dried basil. Stir well.
Use an immersion blender to blend the soup until smooth. If using a traditional blender, let the soup stop bubbling, fill the jar only part way, keep the lid vent in place as your blender's manual directs, start on the lowest speed and blend in batches, then return to the pot.
Bring the soup to a gentle simmer and let cook for 10 minutes, stirring occasionally.
For a creamy version, stir in heavy cream and cook for another 2 minutes.
Taste and adjust seasoning with salt, black pepper, or red pepper flakes.
Ladle into bowls and garnish with fresh basil. Serve hot with toasted bread or a grilled cheese sandwich.