Melt butter in a large heavy-bottomed pot over medium heat. Add diced onion and cook for 4 to 5 minutes until soft and translucent. Add garlic and cook for 60 seconds.
Sprinkle in flour and stir constantly for 2 minutes until the raw flour smell fades. Do not let it brown.
Slowly pour in the milk a little at a time, whisking constantly. Add the chicken broth the same way. Whisk until smooth and lump-free.
Add heavy cream, dry mustard, smoked paprika, salt, and pepper. Stir to combine. Bring to a gentle simmer over medium heat and cook for 5 minutes.
Add broccoli florets and grated carrot. Reduce heat to medium-low and simmer uncovered for 12 to 15 minutes until broccoli is fully tender.
Remove pot from heat entirely. Let the bubbling stop completely. Add grated cheddar and Parmesan in three additions, stirring until fully melted between each addition.
Taste and adjust seasoning. Serve immediately.