Palette Library
Calm Care
A muted palette for health with a blue primary and a blue accent. Text reaches 13.60:1 in light mode and 14.52:1 in dark mode.
How to use it
Calm Care's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f5f5f6, cards #e0e6ed, and text #25282b at 13.60:1; buttons #3d5a80 with #f5f5f6 labels at 6.48:1; highlights #98c1d9 with #25282b text at 7.73:1.
- Dark mode: page #0c0c0d, cards #111315, and text #d6dfea at 14.52:1; buttons #8cacd6 with #0c0c0d labels at 8.36:1; highlights #688fa6 with #0c0c0d text at 5.64:1.
- Links: #3d5a80 reaches 6.48:1 on the light page, and #8cacd6 reaches 8.36:1 on the dark page.
- The accent as text: In light mode, keep #98c1d9 for fills and badges, not text: it reaches only 1.75:1 on the page.
Preview
The same palette on a small interface in light and dark.
Light mode
A place for your ideas
Start with colors that work together.
Your next project
A surface for the details that matter.
NewExplore your palette →
Dark mode
A place for your ideas
Start with colors that work together.
Your next project
A surface for the details that matter.
NewExplore your palette →
Roles
Five roles and their two foregrounds. Copy the exact HEX values.
| Role | Light | Dark |
|---|---|---|
| Background | #f5f5f6 | #0c0c0d |
| Surface | #e0e6ed | #111315 |
| Text | #25282b | #d6dfea |
| Primary | #3d5a80 | #8cacd6 |
| Primary Foreground | #f5f5f6 | #0c0c0d |
| Accent | #98c1d9 | #688fa6 |
| Accent Foreground | #25282b | #0c0c0d |
Contrast matrix
Five required pairs per mode, judged on the final 8-bit colors.
Light mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 13.60:1AAArequired | 11.79:1AAArequired | 2.09:1Fail | 7.73:1AAA |
| Primary | 6.48:1AArequired | 5.62:1AA | 1.00:1Fail | 3.68:1AA large |
| Accent | 1.75:1Fail | 1.52:1Fail | 3.68:1AA large | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.15:1Fail | 6.48:1AArequired | 1.75:1Fail |
| Accent Foreground | 13.60:1AAA | 11.79:1AAA | 2.09:1Fail | 7.73:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 14.52:1AAArequired | 13.83:1AAArequired | 1.73:1Fail | 2.57:1Fail |
| Primary | 8.36:1AAArequired | 7.96:1AAA | 1.00:1Fail | 1.48:1Fail |
| Accent | 5.64:1AA | 5.38:1AA | 1.48:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.05:1Fail | 8.36:1AAArequired | 5.64:1AA |
| Accent Foreground | 1.00:1Fail | 1.05:1Fail | 8.36:1AAA | 5.64:1AArequired |
AAA: normal text ≥ 7:1. AA: normal text ≥ 4.5:1. AA large: large text ≥ 3:1 (24 px, or 18.66 px bold). UI: required component contrast ≥ 3:1. Fail: below 3:1. Required marks the five pairs ColorLint checks in each mode. Other pairs are informational.
ColorLint checks color contrast only. Passing pairs do not mean a page is accessible.
Exports
Both modes, with the exact values the Palette Generator exports.
CSS variables
/* ColorLint palette (v1). Light values in :root; dark values in .dark. */
:root {
--background: #f5f5f6;
--surface: #e0e6ed;
--text: #25282b;
--primary: #3d5a80;
--primary-foreground: #f5f5f6;
--accent: #98c1d9;
--accent-foreground: #25282b;
}
.dark {
--background: #0c0c0d;
--surface: #111315;
--text: #d6dfea;
--primary: #8cacd6;
--primary-foreground: #0c0c0d;
--accent: #688fa6;
--accent-foreground: #0c0c0d;
}
Tailwind v4
/* ColorLint palette for Tailwind CSS v4 (palette v1). */
/* Paste after @import "tailwindcss". Add the "dark" class to <html> for dark mode. */
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--background: #f5f5f6;
--surface: #e0e6ed;
--text: #25282b;
--primary: #3d5a80;
--primary-foreground: #f5f5f6;
--accent: #98c1d9;
--accent-foreground: #25282b;
}
.dark {
color-scheme: dark;
--background: #0c0c0d;
--surface: #111315;
--text: #d6dfea;
--primary: #8cacd6;
--primary-foreground: #0c0c0d;
--accent: #688fa6;
--accent-foreground: #0c0c0d;
}
@theme inline {
--color-background: var(--background);
--color-surface: var(--surface);
--color-text: var(--text);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
}
Compared with similar palettes
- Compared with Clinic Mint, which shares the Health topic: text reaches 13.60:1 in light mode against 13.74:1, the primary is blue where Clinic Mint's is teal, and both use a blue accent.
- Compared with Sage Wellness, which shares the muted style: text reaches 13.60:1 in light mode against 14.29:1, the primary is blue where Sage Wellness's is green, and the accent is blue where Sage Wellness's is orange.