Enter two colors and see how they differ. The tool shows the two colors side by side. It also gives you a Delta E 2000 score for how different they look, and a WCAG contrast ratio for how readable one is on the other. Results update as you type.
Our Popular Tools
What Is a Color Comparison Tool?
A color comparison tool measures the gap between two colors. Your eyes can tell you two blues look “close.” They can’t tell you how close, or whether text in one will be readable on the other.
This tool answers both questions with numbers:
- How different do the colors look? This is the Delta E score.
- Can you read one color on the other? This is the contrast ratio.
How to Compare Two Colors
- Pick Color 1 with the color swatch, or type a value in the box next to it.
- Do the same for Color 2.
- Read the results below the buttons. They update with every change.
There is no Compare button. If a value can’t be read as a color, a short message appears under that box and the results are hidden until you fix it.
Color formats you can type
- HEX:
#3B82F6,3B82F6, or short form like#F00. Hex with an alpha part (4 or 8 digits) is accepted too. - RGB:
rgb(59, 130, 246), with commas or spaces. Percentages likergb(100% 0% 0%)also work. - HSL:
hsl(217, 91%, 60%) - Plain numbers:
59, 130, 246is read as RGB. - Color names: standard CSS names such as
tealortomato.
What the Results Mean
Delta E 2000: how different the colors look
Delta E 2000 (also written CIEDE2000) is a standard formula for the visual gap between two colors. A bigger number means a bigger difference. The tool adds a short note to the number:
| Delta E | What the tool says |
|---|---|
| Below 1 | Not noticeable to most people |
| 1 to under 2 | Very small. Only noticeable when looked at closely |
| 2 to under 10 | Noticeable at a glance |
| 10 to under 50 | Clearly different colors |
| 50 and above | Very different colors |
Contrast ratio: how readable one color is on the other
The contrast ratio follows the WCAG formula. It runs from 1:1 (identical colors) to 21:1 (black and white). The tool checks it against four WCAG levels:
| Level | Text type | Minimum ratio |
|---|---|---|
| AA | Normal text | 4.5:1 |
| AA | Large text | 3:1 |
| AAA | Normal text | 7:1 |
| AAA | Large text | 4.5:1 |
WCAG counts large text as at least 18 pt (24 px), or 14 pt (about 18.7 px) if bold.
The ratio is rounded down to two decimals, so a result like 4.49 never shows as 4.50 while still failing. Each level is marked Pass or Fail in words, not just color.
Color values and previews
- Preview band: both colors side by side, with the HEX code on each.
- Sample text: Color 1 as text on Color 2, and the reverse. You can judge the pair on real text, not just numbers.
- Values table: HEX, RGB, HSL, and Lab for both colors. Lab is the color space the Delta E formula uses.
Buttons
- Swap: switches Color 1 and Color 2.
- Random: fills both boxes with random colors. This is handy for exploring.
- Copy result: copies a text summary with both colors in HEX, RGB, and HSL, the Delta E score, the contrast ratio, and the four Pass/Fail results.
- Reset: returns to the starting pair,
#3B82F6and#F59E0B.
Examples
| Color 1 | Color 2 | Delta E | Contrast | Takeaway |
|---|---|---|---|---|
#3B82F6 | #F59E0B | 58.35 | 1.71:1 | Very different colors, but poor contrast. Fails all four levels. |
#1E73BE | #1F75C0 | 0.76 | 1.02:1 | Not noticeable to most people. Practically the same blue. |
#767676 | #FFFFFF | 36.86 | 4.54:1 | Passes AA for normal text. Fails AAA. |
#777777 | #FFFFFF | 36.49 | 4.47:1 | One step lighter and AA for normal text fails. It still passes AA for large text. |
The last two rows show why the exact number matters. The two greys look almost identical, yet one passes and one fails.
When to Use This Tool
- Checking text readability: test a text color against its background before you publish.
- Matching brand colors: see whether a color from a logo, a screenshot, and a stylesheet are really the same.
- Choosing between similar shades: find out if two options are different enough to be worth separating, for example for buttons or chart series.
- Converting formats: enter a color in one format and read it back as HEX, RGB, HSL, and Lab.
- Reviewing a design: check that a color change is big enough to be noticed, or small enough to pass as the same.
Tips for Better Results
- Check both numbers. A pair can look very different and still be hard to read together. Delta E measures the overall look. Contrast mostly reflects how light or dark each color is.
- Look at the sample text. Numbers are reliable, but seeing real text on the color pair can reveal problems that a score doesn’t show.
- Aim for Delta E above 2 if you want people to see the difference without leaning in. Below 1, most people won’t notice it.
- Use the large-text level carefully. Passing AA for large text does not mean small body text is readable.
- Copy the result when you need to share your findings with a client or teammate.
Frequently Asked Questions
Why is the Delta E high but the contrast low?
They measure different things. Delta E compares how the colors look overall, including hue. Contrast ratio compares how light or dark each color is. Blue #3B82F6 and orange #F59E0B look very different (Delta E 58.35), but they are close in lightness, so the contrast is only 1.71:1.
Does swapping the two colors change the results?
No. Delta E and contrast ratio come out the same whichever color is first. Only the two sample text boxes change, because the text and background swap roles.
Does the tool support transparent or alpha colors?
No. Alpha values are ignored, so rgba(255, 0, 0, 0.5) is read as solid red. The words transparent and currentcolor are not accepted. To compare a semi-transparent color, first work out the solid color it produces on your background and enter that.
What happens if I enter numbers outside the normal range?
They are corrected to the nearest valid value. RGB values are rounded to whole numbers and kept between 0 and 255, so rgb(300, 0, 0) becomes rgb(255, 0, 0). In HSL, percentages are kept between 0 and 100, and hues wrap around the 360-degree color wheel.
Why does a color name get rejected?
The tool relies on your browser to recognize color names. If the browser doesn’t know the word, the tool shows an error. Use a HEX, RGB, or HSL value instead.
Is a Pass result enough to call my design accessible?
No. This tool checks only the contrast ratio between two colors. Font size, font weight, and other parts of your design matter too.
Can I compare more than two colors?
Not at once. The tool compares two colors at a time. Use Swap or change one color to run the next pair.
More Tools
- Color Blindness Simulator
- CSS Code Color Extractor
- HSL to HEX
- HEX to CMYK Converter
- Browse Gradients
- Browse Colors
- Color Tint & Shades Generator
- Color Harmony Generator
- Color Temperature Converter
- WCAG Color Contrast Checker
- Color Converter
- Gradient Palette Generator
- Gradient Color Palettes
- Color Wheel
- Mesh Gradient Generator
- CMYK to HEX Converter
- HEX to Pantone Converter
- Pantone to HEX Converter
- Pantone Color Finder