The ability to do or say what is appropriate for the occasion.
Browse other words in the same learning bracket as savoir-faire.