
So yes, add some lair actions and if not lair actions, some kind of hazardous terrain or other dangers the party has to face. Also: add some minions. These dragons are vying for this dungeon, surely they're not doing it by themselves.
Beyond that, it depends on how skilled of tacticians your party is, spreading out, buffing before the fight, controlling the battlefield will always up a party's CR, and of course how well built your party is. In 5E even a moderately optimized group can "punch up" easily. And by "optimized" in 5E I mean nothing more than +4's or +5s in their main stats, and having a diverse party. (Fighter, Rogue, Cleric, Wizard, *other*).
In my experience, CR is linear and players are exponential. I would generally say subtract 2 from the CR for each tier above the first to get a true estimate of what level players can take on your challenge.
ncG1vNJzZmivp6x7prrWqKmlnF6kv6h706GpnpmUqHy6u9Snnmacopa0sLrSZpirnV2WvbG%2Bzqmpopmkmnqnu9FmrqGZpGK9pHnLnq2epF5qf3WElGxm