Blasphemy against the Holy Spirit, in the context of that verse, is typically understood as rejection of God's forgiveness. Obviously one who rejects forgiveness can't experience God's mercy, which we need for salvation. Anyone who repents and seeks forgiveness can receive mercy, regardless of past sin.