When the Color Name Finder answers a lookup, it gives you a name and a number. The name gets the attention, but the number decides what you are allowed to claim. At one value, the name is your color's own name, usable without qualification. At every other value, the name belongs to a different color that merely lives nearby.
That number is a distance: how far your color sits from the named entry in RGB space. This guide reads the scale band by band, explains how the distance is measured, and shows why the middle of the scale, where most real colors land, needs the most care.
Contents
- Quick answer
- Exact means zero
- The distance scale, band by band
- How the distance is measured
- Worked example: the two poles
- Why most colors only get a nearest name
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
An exact name requires a distance of 0: your color is identical to an entry in the finder's list of 504 named colors, so the name is the color's name. Everything else is a nearest name. Small single-digit distances are barely distinguishable. Above roughly 50, the two colors are visibly different. In between, it is close enough to talk about, too far to specify by. Check the distance in the Color Name Finder and let the band, not the name alone, decide how you use it.
Exact means zero
There is no "close enough to count as exact". A distance of 0 means the red, green and blue values of your color and the named entry are the same, so the two are one color with two representations: a value and a name. Only then can the name stand in for the value completely.
This matters because exactness is what makes a name safe to build from. If a token, a stylesheet or a print order says Red and the color is exactly the listed Red, whoever rebuilds from the name reproduces the color perfectly. The moment the distance rises above 0, rebuilding from the name produces a different color, and the error is the distance itself.
The finder is blunt about which case you are in. It labels an exact result as exact and a nearest result as the nearest available name, never dressing the second up as the first. Your job is not to blur the label afterwards.
The distance scale, band by band
The scale runs from 0 upward, and three bands cover the practical cases.
At 0, the colors are identical. The name is exact, and you can use it anywhere the value could go.
In the small single digits, the named color is barely distinguishable from yours. Side by side, most people would struggle to say which is which. A nearest name in this band is a good description and a reasonable shorthand, though the honest label stays "nearest": a rebuild from the name shifts the color slightly.
In the middle band, running up to roughly 50, the name is a neighbour. The two colors share a family resemblance: same broad hue, similar weight, clearly not the same color side by side. This band is for orientation. It tells a room which color you mean, and it must never be used as the color's specification.
Above roughly 50, the colors are visibly different. The nearest name is now the closest landmark in a sparse map. It can still help a reader reach the right region of color space, but presenting it as your color's name would mislead anyone who acts on it.
How the distance is measured
The finder measures the straight-line (Euclidean) distance between the two colors in sRGB space: treat each color as a point fixed by its red, green and blue amounts, and measure the straight line between the points. Your color is compared against all 504 entries, the 148 CSS color keywords plus traditional and widely published names, and the smallest distance wins.
This method has two virtues: it is fast, so the answer is instant, and it is predictable, so the same input always earns the same nearest entry and a smaller distance always means numerically closer channels.
Its limit is just as clear. Straight-line distance in sRGB space is not perfectly perceptual. Human vision does not weight every channel difference equally, so two colors at the same distance from yours can look differently close: one may read as nearly identical, the other as clearly off. Use the distance as a dependable ranking of closeness, not a precise prediction of what an eye will judge.
Worked example: the two poles
The finder's own examples mark the two poles. Enter #FF0000 and the result is Red at distance 0: name and value are interchangeable, and nothing needs qualifying.
Enter #2563EB and the result is Royal Blue, the name of the entry at #4169E1, at a distance of about 30.3. This is the middle band in action. The name does real work: a colleague told "nearest Royal Blue" will picture a saturated blue in the right family. But 30.3 is well past barely distinguishable. Put the two blues side by side and the difference is plain. So the correct sentence is "our blue is #2563EB, nearest named color Royal Blue", with the value carrying the precision and the name the picture.
The tool phrases the second result exactly that way: Royal Blue is labelled the nearest match, not the official name of that blue. The rule is only to keep that honesty intact as the name travels.
Why most colors only get a nearest name
The imbalance is arithmetic. RGB allows over 16 million distinct colors. The established names number in the hundreds; the finder's list, at 504 entries, is already generous, combining every CSS keyword with the traditional names in wide use.
Spread hundreds of names across millions of colors and most colors inevitably fall between names, closer to one than to the others but identical to none. A nearest name is therefore not a consolation prize. It is the mathematically normal answer, and the distance tells you how much slack the answer contains.
Limitations and honest tradeoffs
The distance is a single number summarising three channel differences, so it hides direction. Two colors can sit at the same distance from yours, one off mainly in brightness, the other off mainly in hue, and they will not look equally close. The side-by-side swatches the finder shows are the corrective: judge the pair with your eyes too.
The scale's landmarks are guidance, not physical law. "Barely distinguishable" in the small single digits and "visibly different" above roughly 50 describe typical viewing, and individual eyes, screens and lighting move the boundaries. When a decision is expensive, the number starts the conversation and a physical proof finishes it.
And a nearest name points only at the list that produced it. A distance measured against these 504 names says nothing about trademarked paint names or other catalogues, which are not included here.
Common mistakes
- Rounding a nearest name up to an exact one. Distance 4 is close, not identical. Only 0 is exact.
- Quoting a name without its distance. "Nearest Royal Blue" means one thing at distance 6 and another at 46. The number is part of the answer.
- Trusting equal distances equally. The measure is not perfectly perceptual, so two matches at the same distance can look differently close. Check the swatches.
- Using a middle-band name as a specification. Around 30, the name orients a conversation; the HEX does the specifying.
- Hiding a large distance. Above roughly 50, say the named color is visibly different, or skip the name and use the value.
FAQs
What distance counts as an exact name? Only 0. A distance of 0 means your color is identical to the named entry, so the name is the color's own name. Any distance above 0 is a nearest match, however small.
How far apart can two colors be before the difference is visible? Small single-digit distances are barely distinguishable. Above roughly 50, the colors are visibly different. Between those points the name is close enough to talk about, but the colors are not the same.
Is the distance a perfect measure of how close two colors look? No. Matching uses straight-line (Euclidean) distance in sRGB space, which is fast and predictable but not perfectly perceptual. Two colors at the same distance from yours can look differently close.
Why do most colors only get a nearest name? There are over 16 million possible RGB colors and only hundreds of established names. Most colors fall between names, so the closest standard name is the honest answer.
What does a distance of about 30 mean in practice? #2563EB sits about 30.3 from its nearest entry, Royal Blue (#4169E1). That is close enough to describe the color in a meeting, but too far to present Royal Blue as the same color.
Conclusion
Exact and nearest are not two grades of the same answer; they are different kinds of answer. Exact, at distance 0, lets a name replace a value. Nearest gives you a landmark and a distance, and the distance says how far to trust it. The Color Name Finder reports both parts every time. Our companion guide, How to Find the Name of a Color From Its HEX Code, walks through the lookup itself step by step. For more guides in this series, see our Color and Design Tools guides.