Preheat the oven to 350ºF. Spray a 9 x 13-inch baking pan with non-stick baking spray.
In a bowl of a stand mixer fitted with the paddle attachment, cream the butter, granulated sugar and brown sugar until light and fluffy, about 3 minutes. Add the Nutella and vanilla, beating to combine. Add eggs one at a time, beating well after each addition.
In the bowl of a food processor, combine ¼ cup of the flour and hazelnuts. Process until finely ground. In a medium bowl, combine the remaining 2 ¼ cups flour, ground hazelnut mixture, baking powder, baking soda, and salt. With the stand mixer on low, gradually add the flour mixture to the butter mixture. Add the sour cream and beat until blended. Spread batter evenly into the prepared pan.
Bake until a toothpick inserted in the center comes out clean, about 30-35 minutes. Remove from the oven and cool completely on a wire rack.