The "rule" on how much implied odds you need to call raises preflop with pairs to set mine is a long ongoing debate in the poker community. Dan Harrington argues for 30:1, and that's the highest I've seen. Odds of flopping a set are ~8:1. So clearly it's somewhere in between. Obviously it depends on the two following very subjective things:
-How much you win when you make a set (sometimes they fold and don't give you their whole stack, sometimes you make a set and lose to bigger hands, ect.)
-How much you lose/win when you don't make a set (often people bleed money bluff catching or bluffing
with small pairs).
Here, you're getting at least 19:1, and you have position and opponents with strong ranges. So it's a decent spot to set mine in my opinion, and your opponents are probably bad because it's 2NL. You probably have a +EV spot even when you don't make a set, because they'll be easy to read.