You can use the following circuit. You don't specify a load on your state output voltage so this expects a high-impedance load, like an MCU (Arduino) input pin.
R1 limits the current through the two switches if both switches are closed accidentally.
R2 and R3 deliver 3.012 V (approx. 3 V) when both switches are open. Note that the voltage's accuracy must consider the resistor tolerances, along with the 5 V supply rail tolerance which is beyond what your current question describes.
When SW1 is closed, R3 keeps its contacts current at 1 mA. When SW2 is closed, R2 keeps its contacts current at 1.5 mA.
If the output load needs more current, you can increase just the R2 and R3 values while keeping the ratio the same. The maximum load current available must be traded off against the continuous current drawn through R2 and R3.

simulate this circuit – Schematic created using CircuitLab