There's no direct conversion from liters (L) to cubic inches (in³) for an engine because the displacement doesn't represent a perfectly geometric shape. The 3.1 L figure represents the total swept volume of all the cylinders *combined*. The shape of the cylinders and the combustion chambers aren't simple cubes or rectangular prisms.
However, a generally accepted approximation is that 1 liter is approximately equal to 61 cubic inches.
Therefore, a 3.1 L Chevy motor is approximately 3.1 L * 61 in³/L = 189.1 cubic inches. Keep in mind this is an approximation. The actual cubic inch displacement might vary slightly depending on the specific engine design.