All tools
Color Palette & Contrast Checker
DesignBuild 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
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
Normal text · AAA
≥ 7:1
Large text · AA
≥ 3:1
Large text · AAA
≥ 4.5:1
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.