When running vim inside tmux the first time, the colors does not display properly. This is caused by tmux using a different terminal. To set a terminal that supports color, you’ll have to set a default one in ~/.tmux.conf

set -g default-terminal "xterm-256color"