Had unprotected sex after taking pill late?

I took my pill for Friday (7pm is my time) on Saturday at 12pm. Then, I took my Saturday pill like two hours late at like 9pm. I'm also taking Cephalexin but I read that doesn't affect anything.  Saturday night I had unprotected sex. I should be fine since I would've had TWO pills in my system right even if I took them late?