Preheat oven to 350°F (175°C).
Grease and line an 8-inch square baking pan.
Whisk together flour, baking powder, and salt.
Beat butter and sugar until light and fluffy.
Mix in the egg until fully incorporated.
Stir in vanilla extract.
Add the dry ingredients alternately with buttermilk.
Toss blueberries with 2 teaspoons flour.
Fold the blueberries gently into the batter.
Spread the batter evenly into the prepared pan.
Sprinkle coarse sugar evenly over the top.
Bake for 40–45 minutes until golden and a toothpick comes out clean.
Cool for 15 minutes before slicing.
Serve warm or at room temperature.