The film that featured Charlie Hunnam in the title role of King Arthur is "King Arthur: Legend of the Sword." Directed by Guy Ritchie, this 2017 movie offers a unique take on the classic tale, following Arthur's journey from the streets to the throne.
Here's an image from the film showing Charlie Hunnam as King Arthur:
For more details, you can visit IMDb's page on the movie.