Palette Library
Skyline
A vibrant palette for SaaS with a blue primary and a pink accent. Text reaches 17.42:1 in light mode and 15.31:1 in dark mode.
How to use it
Skyline's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f3f6fd, cards #e5eaf7, and text #0e111a at 17.42:1; buttons #3b5bdb with #f3f6fd labels at 5.23:1; highlights #f783ac with #0e111a text at 7.89:1.
- Dark mode: page #0b0e14, cards #191c23, and text #dde5f9 at 15.31:1; buttons #799cff with #0b0e14 labels at 7.37:1; highlights #f783ac with #0b0e14 text at 8.09:1.
- Links: #3b5bdb reaches 5.23:1 on the light page, and #799cff reaches 7.37:1 on the dark page.
- The accent as text: In light mode, keep #f783ac for fills and badges, not text: it reaches only 2.20: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 | #f3f6fd | #0b0e14 |
| Surface | #e5eaf7 | #191c23 |
| Text | #0e111a | #dde5f9 |
| Primary | #3b5bdb | #799cff |
| Primary Foreground | #f3f6fd | #0b0e14 |
| Accent | #f783ac | #f783ac |
| Accent Foreground | #0e111a | #0b0e14 |
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 | 17.42:1AAArequired | 15.66:1AAArequired | 3.32:1AA large | 7.89:1AAA |
| Primary | 5.23:1AArequired | 4.70:1AA | 1.00:1Fail | 2.37:1Fail |
| Accent | 2.20:1Fail | 1.98:1Fail | 2.37:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.11:1Fail | 5.23:1AArequired | 2.20:1Fail |
| Accent Foreground | 17.42:1AAA | 15.66:1AAA | 3.32:1AA large | 7.89:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.31:1AAArequired | 13.51:1AAArequired | 2.07:1Fail | 1.89:1Fail |
| Primary | 7.37:1AAArequired | 6.50:1AA | 1.00:1Fail | 1.09:1Fail |
| Accent | 8.09:1AAA | 7.14:1AAA | 1.09:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.13:1Fail | 7.37:1AAArequired | 8.09:1AAA |
| Accent Foreground | 1.00:1Fail | 1.13:1Fail | 7.37:1AAA | 8.09: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: #f3f6fd;
--surface: #e5eaf7;
--text: #0e111a;
--primary: #3b5bdb;
--primary-foreground: #f3f6fd;
--accent: #f783ac;
--accent-foreground: #0e111a;
}
.dark {
--background: #0b0e14;
--surface: #191c23;
--text: #dde5f9;
--primary: #799cff;
--primary-foreground: #0b0e14;
--accent: #f783ac;
--accent-foreground: #0b0e14;
}
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: #f3f6fd;
--surface: #e5eaf7;
--text: #0e111a;
--primary: #3b5bdb;
--primary-foreground: #f3f6fd;
--accent: #f783ac;
--accent-foreground: #0e111a;
}
.dark {
color-scheme: dark;
--background: #0b0e14;
--surface: #191c23;
--text: #dde5f9;
--primary: #799cff;
--primary-foreground: #0b0e14;
--accent: #f783ac;
--accent-foreground: #0b0e14;
}
@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 Cyber Grid, which shares the vibrant style: text reaches 17.42:1 in light mode against 15.88:1, both use a blue primary, and both use a pink accent.
- Compared with Level Select, which shares the vibrant style: text reaches 17.42:1 in light mode against 15.85:1, both use a blue primary, and both use a pink accent.