Palette Library

Cloud Nine

A pastel palette for SaaS with a blue primary and a teal accent. Text reaches 15.63:1 in light mode and 16.38:1 in dark mode.

How to use it

Cloud Nine's roles on a real interface, with the ratios stored for this palette.

  • Light mode: page #f4f8ff, cards #eeeff0, and text #181e2c at 15.63:1; buttons #4c6ef5 with #000000 labels at 4.85:1; highlights #c5f6fa with #181e2c text at 14.22:1.
  • Dark mode: page #0d1019, cards #1b1c1e, and text #eeeeef at 16.38:1; buttons #6f92ff with #0d1019 labels at 6.54:1; highlights #c5f6fa with #0d1019 text at 16.22:1.
  • Links: #4c6ef5 reaches 4.06:1 on the light page, and #6f92ff reaches 6.54:1 on the dark page.
  • The accent as text: In light mode, keep #c5f6fa for fills and badges, not text: it reaches only 1.09: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
#f4f8ff
#0d1019
Surface
#eeeff0
#1b1c1e
Text
#181e2c
#eeeeef
Primary
#4c6ef5
#6f92ff
Primary Foreground
#000000
#0d1019
Accent
#c5f6fa
#c5f6fa
Accent Foreground
#181e2c
#0d1019

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
Text15.63:1AAArequired14.46:1AAArequired3.85:1AA large14.22:1AAA
Primary4.06:1UIrequired3.75:1AA large1.00:1Fail3.69:1AA large
Accent1.09:1Fail1.01:1Fail3.69:1AA large1.00:1Fail
Primary Foreground19.71:1AAA18.24:1AAA4.85:1AArequired17.93:1AAA
Accent Foreground15.63:1AAA14.46:1AAA3.85:1AA large14.22:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text16.38:1AAArequired14.70:1AAArequired2.50:1Fail1.00:1Fail
Primary6.54:1AArequired5.87:1AA1.00:1Fail2.48:1Fail
Accent16.22:1AAA14.56:1AAA2.48:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.11:1Fail6.54:1AArequired16.22:1AAA
Accent Foreground1.00:1Fail1.11:1Fail6.54:1AA16.22: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: #f4f8ff;
  --surface: #eeeff0;
  --text: #181e2c;
  --primary: #4c6ef5;
  --primary-foreground: #000000;
  --accent: #c5f6fa;
  --accent-foreground: #181e2c;
}

.dark {
  --background: #0d1019;
  --surface: #1b1c1e;
  --text: #eeeeef;
  --primary: #6f92ff;
  --primary-foreground: #0d1019;
  --accent: #c5f6fa;
  --accent-foreground: #0d1019;
}

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: #f4f8ff;
  --surface: #eeeff0;
  --text: #181e2c;
  --primary: #4c6ef5;
  --primary-foreground: #000000;
  --accent: #c5f6fa;
  --accent-foreground: #181e2c;
}

.dark {
  color-scheme: dark;
  --background: #0d1019;
  --surface: #1b1c1e;
  --text: #eeeeef;
  --primary: #6f92ff;
  --primary-foreground: #0d1019;
  --accent: #c5f6fa;
  --accent-foreground: #0d1019;
}

@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 Harbor Light, which shares the SaaS topic: text reaches 15.63:1 in light mode against 13.10:1, both use a blue primary, and the accent is teal where Harbor Light's is yellow.
  • Compared with Nordic Frost, which shares the SaaS topic: text reaches 15.63:1 in light mode against 12.99:1, both use a blue primary, and the accent is teal where Nordic Frost's is blue.