It's based on a tradition that recognizes Sunday as a special day. Yes, that tradition has some basis in religion, but that doesn't make it the same as the law being based purely on a religious belief.
Blue laws don't automatically turn a Christian belief into a cultural belief.