Palette Library

Mono Blueprint

A minimal palette for developer tools with a blue primary and a blue accent. Text reaches 16.04:1 in light mode and 16.29:1 in dark mode.

How to use it

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

  • Light mode: page #ffffff, cards #fbf4e8, and text #23211f at 16.04:1; buttons #1e40af with #ffffff labels at 8.72:1; highlights #93c5fd with #23211f text at 8.89:1.
  • Dark mode: page #15110b, cards #1c1a16, and text #f4eee4 at 16.29:1; buttons #87abff with #15110b labels at 8.32:1; highlights #6292c8 with #15110b text at 5.78:1.
  • Links: #1e40af reaches 8.72:1 on the light page, and #87abff reaches 8.32:1 on the dark page.
  • The accent as text: In light mode, keep #93c5fd for fills and badges, not text: it reaches only 1.80: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
#ffffff
#15110b
Surface
#fbf4e8
#1c1a16
Text
#23211f
#f4eee4
Primary
#1e40af
#87abff
Primary Foreground
#ffffff
#15110b
Accent
#93c5fd
#6292c8
Accent Foreground
#23211f
#15110b

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
Text16.04:1AAArequired14.67:1AAArequired1.83:1Fail8.89:1AAA
Primary8.72:1AAArequired7.97:1AAA1.00:1Fail4.83:1AA
Accent1.80:1Fail1.64:1Fail4.83:1AA1.00:1Fail
Primary Foreground1.00:1Fail1.09:1Fail8.72:1AAArequired1.80:1Fail
Accent Foreground16.04:1AAA14.67:1AAA1.83:1Fail8.89:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text16.29:1AAArequired15.05:1AAArequired1.95:1Fail2.81:1Fail
Primary8.32:1AAArequired7.69:1AAA1.00:1Fail1.43:1Fail
Accent5.78:1AA5.34:1AA1.43:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.08:1Fail8.32:1AAArequired5.78:1AA
Accent Foreground1.00:1Fail1.08:1Fail8.32:1AAA5.78:1AArequired

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: #ffffff;
  --surface: #fbf4e8;
  --text: #23211f;
  --primary: #1e40af;
  --primary-foreground: #ffffff;
  --accent: #93c5fd;
  --accent-foreground: #23211f;
}

.dark {
  --background: #15110b;
  --surface: #1c1a16;
  --text: #f4eee4;
  --primary: #87abff;
  --primary-foreground: #15110b;
  --accent: #6292c8;
  --accent-foreground: #15110b;
}

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: #ffffff;
  --surface: #fbf4e8;
  --text: #23211f;
  --primary: #1e40af;
  --primary-foreground: #ffffff;
  --accent: #93c5fd;
  --accent-foreground: #23211f;
}

.dark {
  color-scheme: dark;
  --background: #15110b;
  --surface: #1c1a16;
  --text: #f4eee4;
  --primary: #87abff;
  --primary-foreground: #15110b;
  --accent: #6292c8;
  --accent-foreground: #15110b;
}

@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 Code Review, which shares the minimal style: text reaches 16.04:1 in light mode against 17.06:1, both use a blue primary, and the accent is blue where Code Review's is green.
  • Compared with Stack Trace, which shares the minimal style: text reaches 16.04:1 in light mode against 13.01:1, the primary is blue where Stack Trace's is red, and both use a blue accent.