>>2129453To illustrate, I flood-filled the background back to white. Left a very jagged boundary, so this wasn't quite what you were faced with when you began working.
Then I used the described techniques to make sure the dark blue went right up to the figure. Used both "color" and "darker" successively to obtain best results.