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.

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

light mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text17.42:1AAArequired15.66:1AAArequired3.32:1AA large7.89:1AAA
Primary5.23:1AArequired4.70:1AA1.00:1Fail2.37:1Fail
Accent2.20:1Fail1.98:1Fail2.37:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.11:1Fail5.23:1AArequired2.20:1Fail
Accent Foreground17.42:1AAA15.66:1AAA3.32:1AA large7.89:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text15.31:1AAArequired13.51:1AAArequired2.07:1Fail1.89:1Fail
Primary7.37:1AAArequired6.50:1AA1.00:1Fail1.09:1Fail
Accent8.09:1AAA7.14:1AAA1.09:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.13:1Fail7.37:1AAArequired8.09:1AAA
Accent Foreground1.00:1Fail1.13:1Fail7.37:1AAA8.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.