Palette Library

Blue Chip

A bold palette for finance with a blue primary and a yellow accent. Text reaches 12.40:1 in light mode and 17.56:1 in dark mode.

How to use it

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

  • Light mode: page #f6fbff, cards #e3eef6, and text #26333e at 12.40:1; buttons #0c4a6e with #f6fbff labels at 9.08:1; highlights #fbbf24 with #26333e text at 7.73:1.
  • Dark mode: page #040a10, cards #0d1318, and text #e4f3fe at 17.56:1; buttons #80bae3 with #040a10 labels at 9.51:1; highlights #fbbf24 with #040a10 text at 11.91:1.
  • Links: #0c4a6e reaches 9.08:1 on the light page, and #80bae3 reaches 9.51:1 on the dark page.
  • The accent as text: In light mode, keep #fbbf24 for fills and badges, not text: it reaches only 1.60: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
#f6fbff
#040a10
Surface
#e3eef6
#0d1318
Text
#26333e
#e4f3fe
Primary
#0c4a6e
#80bae3
Primary Foreground
#f6fbff
#040a10
Accent
#fbbf24
#fbbf24
Accent Foreground
#26333e
#040a10

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
Text12.40:1AAArequired10.96:1AAArequired1.36:1Fail7.73:1AAA
Primary9.08:1AAArequired8.02:1AAA1.00:1Fail5.66:1AA
Accent1.60:1Fail1.41:1Fail5.66:1AA1.00:1Fail
Primary Foreground1.00:1Fail1.13:1Fail9.08:1AAArequired1.60:1Fail
Accent Foreground12.40:1AAA10.96:1AAA1.36:1Fail7.73:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text17.56:1AAArequired16.51:1AAArequired1.84:1Fail1.47:1Fail
Primary9.51:1AAArequired8.94:1AAA1.00:1Fail1.25:1Fail
Accent11.91:1AAA11.19:1AAA1.25:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.06:1Fail9.51:1AAArequired11.91:1AAA
Accent Foreground1.00:1Fail1.06:1Fail9.51:1AAA11.91: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: #f6fbff;
  --surface: #e3eef6;
  --text: #26333e;
  --primary: #0c4a6e;
  --primary-foreground: #f6fbff;
  --accent: #fbbf24;
  --accent-foreground: #26333e;
}

.dark {
  --background: #040a10;
  --surface: #0d1318;
  --text: #e4f3fe;
  --primary: #80bae3;
  --primary-foreground: #040a10;
  --accent: #fbbf24;
  --accent-foreground: #040a10;
}

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: #f6fbff;
  --surface: #e3eef6;
  --text: #26333e;
  --primary: #0c4a6e;
  --primary-foreground: #f6fbff;
  --accent: #fbbf24;
  --accent-foreground: #26333e;
}

.dark {
  color-scheme: dark;
  --background: #040a10;
  --surface: #0d1318;
  --text: #e4f3fe;
  --primary: #80bae3;
  --primary-foreground: #040a10;
  --accent: #fbbf24;
  --accent-foreground: #040a10;
}

@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 Checkout Blue, which shares the bold style: text reaches 12.40:1 in light mode against 16.47:1, both use a blue primary, and both use a yellow accent.
  • Compared with Trading Floor, which shares the bold style: text reaches 12.40:1 in light mode against 15.41:1, both use a blue primary, and the accent is yellow where Trading Floor's is red.