Blackbeard and Akainu have been paralleled as exact opposites of the moral spectrum:
This dynamic is further compounded in the post time skip chapter “Two Changes in the New World” which discusses Akainu and Blackbeard ascending to fleet admiral and Yonko respectively.
The above advertisement from Oda and his staff is even more evidence that they view these two in some sort of shared light.