That is a loaded question. Are you asking in reference to code or just if it will work?
Cleanouts should be sized to the main line they connect to. Meaning, if that 1.5" line leads into a 3" main line, then the cleanout should be sized @ 3" before it enters the concrete floor.
That probably didn't answer your question.