I recently moved back to the area from NorCal. Initially, 40% of my income was going to rent for a studio on the outskirts of Boulder. It's insane. Now I live with my SO and thankfully that's down to around 15%. I can't even imagine finding a place to buy now.
Buying inside of Boulder is a bit insane right now, hell most of Colorado is, and it's just amplified by the lack of supply in Boulder (no new building for 20-30 some years I think).
Check out Gunbarrel, it's about 7 minutes away from Boulder and is still somewhat reasonable. Although my SO bought her 30yr old condo for $165K in the Fall of 2014 and Zillow is now saying 302K, LOL.