Palette Library
Fjord
A muted palette for travel with a blue primary and a blue accent. Text reaches 19.12:1 in light mode and 16.92:1 in dark mode.
How to use it
Fjord's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fffcf8, cards #faf2e9, and text #140a01 at 19.12:1; buttons #2c5f7c with #fffcf8 labels at 6.76:1; highlights #b8d8e8 with #140a01 text at 13.06:1.
- Dark mode: page #15120f, cards #262018, and text #fff2e2 at 16.92:1; buttons #7db1d1 with #15120f labels at 8.07:1; highlights #b8d8e8 with #15120f text at 12.46:1.
- Links: #2c5f7c reaches 6.76:1 on the light page, and #7db1d1 reaches 8.07:1 on the dark page.
- The accent as text: In light mode, keep #b8d8e8 for fills and badges, not text: it reaches only 1.46: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 | #fffcf8 | #15120f |
| Surface | #faf2e9 | #262018 |
| Text | #140a01 | #fff2e2 |
| Primary | #2c5f7c | #7db1d1 |
| Primary Foreground | #fffcf8 | #15120f |
| Accent | #b8d8e8 | #b8d8e8 |
| Accent Foreground | #140a01 | #15120f |
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 | 19.12:1AAArequired | 17.64:1AAArequired | 2.82:1Fail | 13.06:1AAA |
| Primary | 6.76:1AArequired | 6.24:1AA | 1.00:1Fail | 4.62:1AA |
| Accent | 1.46:1Fail | 1.35:1Fail | 4.62:1AA | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.08:1Fail | 6.76:1AArequired | 1.46:1Fail |
| Accent Foreground | 19.12:1AAA | 17.64:1AAA | 2.82:1Fail | 13.06:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 16.92:1AAArequired | 14.62:1AAArequired | 2.09:1Fail | 1.35:1Fail |
| Primary | 8.07:1AAArequired | 6.97:1AA | 1.00:1Fail | 1.54:1Fail |
| Accent | 12.46:1AAA | 10.77:1AAA | 1.54:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.15:1Fail | 8.07:1AAArequired | 12.46:1AAA |
| Accent Foreground | 1.00:1Fail | 1.15:1Fail | 8.07:1AAA | 12.46:1AAArequired |
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: #fffcf8;
--surface: #faf2e9;
--text: #140a01;
--primary: #2c5f7c;
--primary-foreground: #fffcf8;
--accent: #b8d8e8;
--accent-foreground: #140a01;
}
.dark {
--background: #15120f;
--surface: #262018;
--text: #fff2e2;
--primary: #7db1d1;
--primary-foreground: #15120f;
--accent: #b8d8e8;
--accent-foreground: #15120f;
}
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: #fffcf8;
--surface: #faf2e9;
--text: #140a01;
--primary: #2c5f7c;
--primary-foreground: #fffcf8;
--accent: #b8d8e8;
--accent-foreground: #140a01;
}
.dark {
color-scheme: dark;
--background: #15120f;
--surface: #262018;
--text: #fff2e2;
--primary: #7db1d1;
--primary-foreground: #15120f;
--accent: #b8d8e8;
--accent-foreground: #15120f;
}
@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 Deep Sea, which shares the Travel topic: text reaches 19.12:1 in light mode against 15.37:1, both use a blue primary, and the accent is blue where Deep Sea's is pink.
- Compared with Glacier Bay, which shares the Travel topic: text reaches 19.12:1 in light mode against 13.42:1, both use a blue primary, and both use a blue accent.