Paste a hex code and find its closest named color. Searches against all standard CSS named colors using perceptual color distance.
color: dodgerblue;This tool compares your color against all 147 standard CSS named colors using a weighted perceptual distance formula. It gives more weight to the green channel (which the human eye is most sensitive to) and adjusts red/blue weights based on overall brightness. It's not a perfect model of human vision, but it's considerably more accurate than simple RGB distance.
CSS named colors like rebeccapurple and cornflowerblue are supported in all major browsers and can be used directly in stylesheets. The CSS keyword is shown below the best match so you can copy it straight into your code.