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.

Get startedNew

Explore 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.

Get startedNew

Explore your palette →

Roles

Five roles and their two foregrounds. Copy the exact HEX values.

RoleLightDark
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.

light mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text19.12:1AAArequired17.64:1AAArequired2.82:1Fail13.06:1AAA
Primary6.76:1AArequired6.24:1AA1.00:1Fail4.62:1AA
Accent1.46:1Fail1.35:1Fail4.62:1AA1.00:1Fail
Primary Foreground1.00:1Fail1.08:1Fail6.76:1AArequired1.46:1Fail
Accent Foreground19.12:1AAA17.64:1AAA2.82:1Fail13.06:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text16.92:1AAArequired14.62:1AAArequired2.09:1Fail1.35:1Fail
Primary8.07:1AAArequired6.97:1AA1.00:1Fail1.54:1Fail
Accent12.46:1AAA10.77:1AAA1.54:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.15:1Fail8.07:1AAArequired12.46:1AAA
Accent Foreground1.00:1Fail1.15:1Fail8.07:1AAA12.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.