Boulder's not cheap. There I saw an ordinary split-level house for sale at $1.5 million. 10 miles away, closer to Denver, the same house could be $300K.
But real estate is much more reasonable once you get out of Boulder. You could get a decent house in Longmont for $300k, and the commute into Boulder would be reasonable.