We can estimate the efficiency of a hybrid (Toyota RAV4 hybrid, consuming 6 L / 100 km) by noting that a similar purely electric vehicle (Toyota bZ4X) consumes 0.17 kWh / km.
If we set the efficiency of the electric vehicle to 90% (an estimate, including losses in battery, wiring, power electronics and motor), and note that one liter of gasoline contains 9.5 kWh / liter, then the hybrid consumes 0.57 kWh / km.
The estimate for the hybrid is therefore 27% (calculated from 0.17/0.57*90)
A non-hybrid (gasoline engine) would consume about 7.5 L / 100 km, and the efficiency would be therefore 21%.
In reality, an electric vehicle has charging losses too, maybe having a charging efficiency of 93% (the 0.17 kWh / km figure does not have this charging loss included, with the charging loss it would be more like 0.18 kWh / km). The electricity distribution network has maybe an efficiency of 95%. Electricity generation from fossil fuels or nuclear power can have 30%-50% efficiency, but those generation methods are becoming more rare and we are increasingly utilizing wind power and hydropower.
Hydrogen cars are like electric cars so the power electronics, wiring and motor efficiency is about 90% combined, but the fuel cell is running at 50% efficiency and the hydrogen electrolyzer is running at 75% efficiency. Thus, the efficiency from the grid is about 34%. Presumably electrolyzers would be located near the electricity generation so distribution losses don't affect hydrogen. However, an electric vehicle would have efficiency of 0.93 * 0.95 * 0.9 (charging times distribution times vehicle) or 80%.
You can compare hydrogen's efficiency of 34% to electric vehicle total charging, driving and distribution efficiency of 80% and the electricity clearly wins.
Also if calculating well-to-wheels efficiency, you should include oil refining efficiency too in the gasoline models.
All these figures were in warm climates. In cold climates, efficiency of gasoline vehicles suffers only very little because you get waste heat for free, but for electric cars, the efficiency suffers a lot because you need to use a heat pump (typical these days) or even resistive heaters (typical for older Tesla models).