The invention relates to a dichroic prism assembly (P1-P7) configured to receive light from an object image through an entrance face of the dichroic prism assembly, comprising a first prism (P1) having a cross section with at least five corners, each corner having an inside angle of at least 90 degrees. The corners are designed so that an incoming beam which enters the entrance face in a direction parallel to a normal of said entrance face is reflected twice inside the prism and exits the prism through an exit face parallel to a normal of said exit face, wherein the normal of the entrance face and the normal of the exit face are perpendicular to each other. The invention also relates to an endoscope and a medical imaging system using such a dichroic prism assembly.