Prepare the crab
If using fresh crab, steam or boil it until fully cooked. Allow it to cool, then shred the meat using your fingers or a fork. Set aside.
Make the custard base.
In a medium-sized mixing bowl, whisk together the egg yolks and ½ cup of granulated sugar until the mixture becomes pale and slightly thickened.
In a saucepan, heat the heavy cream over medium heat until it’s just about to simmer (small bubbles will form around the edges). Do not let it boil.
Gradually pour the warm cream into the egg yolk mixture, whisking constantly to temper the eggs and prevent them from cooking. Once fully combined, stir in the vanilla extract and a pinch of salt.
Incorporate the crab
Gently fold the shredded crab meat into the custard mixture. Be careful not to overmix, as you want the crab pieces to remain intact.
If desired, add optional ingredients such as lemon zest, cayenne pepper, or chives at this stage for extra flavor.
Portion and chill
Preheat your oven to 300°F (150°C).
Pour the custard mixture evenly into the ramekins, filling them about ¾ full.
Place the ramekins on a baking sheet and carefully transfer them to the oven. Bake the custard for 30 to 35 minutes, or until it sets but remains slightly jiggly in the center.
Remove the ramekins from the oven and allow them to cool to room temperature. Once cooled, refrigerate for at least 2 hours to chill and set the custard completely.
Prepare the sugar topping.
When ready to serve, evenly sprinkle about 1 teaspoon of granulated sugar over the top of each chilled custard.
Caramelize the sugar.
Using a kitchen torch, carefully melt the sugar until it forms a golden-brown, crispy crust. Move the torch in a circular motion to ensure even caramelization.
If you don't have a torch, carefully monitor the ramekins under a broiler on high heat until the sugar melts and caramelizes. This should take about 2–3 minutes.
Serve
Serve the Crab Brûlée immediately, garnished with a sprinkle of fresh herbs if desired. Pair it with a crisp white wine and enjoy this unique blend of sweet and savory flavors.