Tool guide
About this tool.
- A palette combines a base color with hues selected by a scheme: complementary 180°, analogous ±30°, triadic 120°/240°, split 150°/210°.
- Preserves the base color and 500 shade. Contrast ratios compare opaque sRGB on white and black.
- Explore accent hues without losing your starting color.
- Compare 50/200/500/700/900 swatches and inspect white/black contrast.
Enter a three/six-digit hex color, integer rgb(), or hsl(). Alpha and named colors are not accepted.
Choose a scheme and compare live swatches.
White/black ratios rounded for display. Normal-text AA is 4.5:1; large text is 3:1.
Copy report or download color-palette.json and color-palette.css.
- #2563eb, Complementary → base-500 #2563eb and accent1-500 #ebad25, the hue rotated 180°.
- rgb(37, 99, 235), Analogous → accent1-500 #4a25eb and accent2-500 #25c6eb, 30° on either side.
- #2563eb → contrastOnWhite 5.17 and contrastOnBlack 4.06, so it reaches 4.5:1 only on white.
- #808080, Triadic → accent1 and accent2 are also #808080, because a gray has no hue to rotate.
- #2563eb → color-palette.css with --base-50: #e9effd; through --base-900: #082157; then use color: var(--base-700).
- Colors are opaque sRGB; compositing, gradients, opacity and arbitrary backgrounds are not assessed.
- Shade labels describe relative lightness, not Tailwind tokens.
- Normal text needs at least 4.5:1 for WCAG AA; large text needs 3:1.
- APCA 0.0.98G-4g is the WCAG 3 draft contrast method; it is not a conformance requirement, so WCAG 2 ratios remain the standard.
- CSS exports include custom properties only, not UI styles.