SEO Tools
Accessible Color Finder
Find WCAG AA and AAA compliant text or background colors for any brand color. Brand-safe tint and shade ramp plus neutral palette, live preview, no signup.
Direction
Enter a background. The tool suggests accessible text colors.
Resolved to #1d4ed8 (rgb(29, 78, 216)).
Target WCAG tier
Body copy, links, captions. The default for most product UI.
Try a preset
Brand color ramp
Same hue, different lightness. Pass swatches meet WCAG AA, normal text.
4 of 25 pass
#000000
3.13:1
Below 4.50#030713
3.00:1
Below 4.50#050e25
2.86:1
Below 4.50#081438
2.68:1
Below 4.50#0a1b4b
2.46:1
Below 4.50#0d225e
2.23:1
Below 4.50#0f2970
1.99:1
Below 4.50#122f83
1.78:1
Below 4.50#143696
1.57:1
Below 4.50#173da9
1.38:1
Below 4.50#1944bb
1.21:1
Below 4.50#1c4ace
1.07:1
Below 4.50#1e51e1
1.06:1
Below 4.50#3160e3
1.25:1
Below 4.50#446ee6
1.47:1
Below 4.50#567de8
1.75:1
Below 4.50#698beb
2.07:1
Below 4.50#7c9aed
2.46:1
Below 4.50#8fa8f0
2.88:1
Below 4.50#a1b7f2
3.37:1
Below 4.50#b4c5f5
3.91:1
Below 4.50#c7d4f7
4.53:1
Pass#dae2fa
5.18:1
Pass#ecf1fc
5.92:1
Pass#ffffff
6.70:1
PassNeutral palette
Black, white, and gray ramp. Most common product UI text colors.
5 of 13 pass
#ffffff
White
6.70:1
Pass#f8fafc
Slate 50
6.41:1
Pass#f1f5f9
Slate 100
6.12:1
Pass#e2e8f0
Slate 200
5.44:1
Pass#cbd5e1
Slate 300
4.51:1
Pass#94a3b8
Slate 400
2.61:1
Below 4.50#64748b
Slate 500
1.41:1
Below 4.50#475569
Slate 600
1.13:1
Below 4.50#334155
Slate 700
1.55:1
Below 4.50#1e293b
Slate 800
2.18:1
Below 4.50#0f172a
Slate 900
2.66:1
Below 4.50#020617
Slate 950
3.01:1
Below 4.50#000000
Black
3.13:1
Below 4.50How to use
- Pick a direction. Find text colors when your entered color is the background and you need the right text color. Find background colors when your entered color is the text and you need the right background.
- Enter your color in HEX (#rrggbb), rgb(), or hsl() format, or use the color picker square next to the input. Try a preset (Blue 600, Indigo 600, Violet 600, Rose 600, Amber 500, Emerald 600, Teal 600, Sky 500, White, Black) for a one-tap starting point.
- Select the target WCAG tier: AA normal (4.5:1) for body copy, AAA normal (7:1) for the strict accessibility tier, AA large (3:1) for headings 18pt+ or 14pt+ bold, or AA non-text UI (3:1) for borders, icons, focus rings, and chart strokes.
- Read the Recommended color card. It picks the closest tint or shade of your brand color that meets the chosen tier, so the suggestion still feels like your brand instead of jumping straight to pure black or pure white.
- Scroll the Brand color ramp to see every step from darkest to lightest, with the contrast ratio and Pass / Below threshold badge on each swatch. Scroll the Neutral palette for the black, white, and slate gray steps that pass.
- Copy any swatch's HEX value with the Copy button, or use Copy report to grab the full plain-text summary (input color, target tier, recommended swatch, and every passing match) for an audit, ticket, or design review.
About this tool
Accessible Color Finder solves the hardest part of building a WCAG-compliant interface: picking text and background colors that actually pass the contrast check. Enter a single brand color (HEX, rgb(), or hsl(), with optional alpha) and pick the target tier (WCAG AA normal text at 4.5:1, AAA normal text at 7:1, AA large text at 3:1, or AA non-text UI at 3:1). The tool generates two parallel result panels. The first panel is a brand color ramp: the tool builds a 25-step tint and shade ramp by sweeping the lightness of the entered color while keeping the hue and saturation fixed, then checks every step against your color and surfaces the gentlest passing swatch as a Recommended brand-safe color. This is what designers usually want when they ask whether their brand color is accessible: not the answer no, switch to pure black or pure white, but the closest, on-brand alternative that still meets the spec. The second panel is a curated neutral palette of pure black, pure white, and the Tailwind-style slate ramp from 50 to 950; every swatch is contrast-checked and labeled Pass or Below threshold so it's clear at a glance which text color works on the current background. A direction toggle flips the role of the input color: in Find text colors mode the entered color is the background and the suggestions are foreground text colors; in Find background colors mode the entered color is the text and the suggestions are background colors. A live preview block renders the recommended pairing with real headline, body, and caption text in three sizes, plus a UI sample, so the result can be eyeballed before being shipped. Color parsing accepts HEX (3, 4, 6, or 8 digits), rgb(), rgba(), hsl(), and hsla() in CSS Level 4 syntax. Transparent inputs are composited over white before checking, which matches what every browser shows when the surface underneath is the default page background. The contrast math is the standard WCAG 2.1 / 2.2 formula: sRGB channels are gamma-decoded to linear sRGB, weighted with the Rec. 709 luminance coefficients (0.2126 R, 0.7152 G, 0.0722 B), and the ratio is computed as (L1 + 0.05) / (L2 + 0.05). Use Copy report to grab a plain-text summary that lists every passing swatch with its contrast ratio, ready to drop into a design review or accessibility audit. Everything runs locally in your browser: the colors you enter here never leave your device.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Color Contrast Checker
Check WCAG AA, AAA, and UI contrast ratios with live preview and pass or fail badges.
Open tool
SEOColor Blindness Simulator
Preview any image or color as protan, deutan, tritan, and achromatopsia viewers see it.
Open tool
GeneratorColor Palette Generator
Build complementary, analogous, triadic, and monochromatic color schemes from any HEX.
Open tool
GeneratorColor Shades and Tints Generator
Build a 50 to 900 style ramp of shades and tints from a single hex color.
Open tool
GeneratorColor Harmony Generator
Build complementary, triadic, tetradic, analogous, and monochromatic palettes.
Open tool
SEODelta-E Calculator
Compare two colors with Delta-E 2000, 94, and 76 plus Lab values.
Open tool