micro.tools
All tools

Color Palette & Contrast Checker

Design

Build harmonious color palettes and verify WCAG contrast for text and UI colors.

Contrast checker

Text foreground
RGB
15, 23, 42
HSL
222°, 47%, 11%
Background
RGB
248, 250, 252
HSL
210°, 40%, 98%

rgb(15, 23, 42) on rgb(248, 250, 252)

Contrast ratio

17.06:1

Normal AA pass

Large heading preview

Normal body text at 14px. Check how readable your copy feels before shipping it.

Primary buttonSecondaryLink text

Normal text · AA

≥ 4.5:1

Pass

Normal text · AAA

≥ 7:1

Pass

Large text · AA

≥ 3:1

Pass

Large text · AAA

≥ 4.5:1

Pass

Palette builder

5 colors
#0F172A
#1D4ED8
#0EA5E9
#10B981
#F59E0B

Lock a swatch to keep it during regeneration · click a swatch to copy HEX · palette saved locally

Contrast uses the WCAG 2.1 relative luminance formula · hsl(222, 47%, 11%) on hsl(210, 40%, 98%) · nothing is uploaded.