Choosing correct dimmer for halogen bulbs
Is a min-60W dimmer safe with a 40W load


It will be safe - it won't catch fire. But it probably won't dim reliably - it won't predictably control the brightness.

More importantly, it probably won't work well when you inevitably replace the halogen bulbs with LED bulbs.