Are Blue Felpro Head Gaskets the Same for 273/318/340?

I have some leftover 318 gasket sets on the shelf. Can I use the head gaskets for the 318 gasket set on the 340 that I am beginning to rebuild? (photo is 340 block) Thank you.

340 block painted.jpeg