If you owe state taxes for the current year, they will not be offset against the federal refund and you will get that refund.
If you owe state taxes for a prior year, and there are still not paid, then your federal refund will be applied to those taxes.