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.
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 | #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.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.63:1AAArequired | 14.46:1AAArequired | 3.85:1AA large | 14.22:1AAA |
| Primary | 4.06:1UIrequired | 3.75:1AA large | 1.00:1Fail | 3.69:1AA large |
| Accent | 1.09:1Fail | 1.01:1Fail | 3.69:1AA large | 1.00:1Fail |
| Primary Foreground | 19.71:1AAA | 18.24:1AAA | 4.85:1AArequired | 17.93:1AAA |
| Accent Foreground | 15.63:1AAA | 14.46:1AAA | 3.85:1AA large | 14.22:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 16.38:1AAArequired | 14.70:1AAArequired | 2.50:1Fail | 1.00:1Fail |
| Primary | 6.54:1AArequired | 5.87:1AA | 1.00:1Fail | 2.48:1Fail |
| Accent | 16.22:1AAA | 14.56:1AAA | 2.48:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.11:1Fail | 6.54:1AArequired | 16.22:1AAA |
| Accent Foreground | 1.00:1Fail | 1.11:1Fail | 6.54:1AA | 16.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.