Speaking for shadcn/ui

Speaking is a shadcn/ui theme built around a muted cyan primary color (#8db7bf) with muted blue accents (#8d9ebf). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted cyan primary (#8db7bf) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfdfewhite
#000000black
Foreground
#031417black
#f7f8f8whitesmoke
Card
#f7fcfdghostwhite
#030303black
Card foreground
#021012black
#f9fafaghostwhite
Popover
#f7fcfdghostwhite
#030303black
Popover foreground
#021012black
#f9fafaghostwhite
Primary
#8db7bfdarkgray
#8db7bfdarkgray
Primary foreground
#090f10black
#090f10black
Secondary
#8dbfaddarkseagreen
#8dbfaddarkseagreen
Secondary foreground
#09100eblack
#09100eblack
Muted
#cee4dcgainsboro
#1b312adarkslategray
Muted foreground
#46534fdarkslategray
#acb9b5darkgray
Accent
#8d9ebfdarkgray
#8d9ebfdarkgray
Accent foreground
#090c10black
#090c10black
Destructive
#d15005chocolate
#e55806orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8db7bfdarkgray
#8db7bfdarkgray

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background18.48:1AAA
Text on card18.68:1AAA
Primary button8.89:1AAA
Secondary button9.30:1AAA
Muted text6.02:1AA
Accent7.26:1AAA
Destructive4.32:1AA Large
Dark mode
Text on background19.73:1AAA
Text on card19.77:1AAA
Primary button8.89:1AAA
Secondary button9.30:1AAA
Muted text6.79:1AA
Accent7.26:1AAA
Destructive3.67:1AA Large

CSS variables

Paste this into your globals.css to use Speaking in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 209.461);
  --foreground: oklch(0.177 0.026 209.278);
  --muted: oklch(0.9 0.026 172.716);
  --muted-foreground: oklch(0.43 0.019 172.219);
  --popover: oklch(0.987 0.005 209.454);
  --popover-foreground: oklch(0.16 0.023 208.168);
  --card: oklch(0.987 0.005 209.454);
  --card-foreground: oklch(0.16 0.023 208.168);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.752 0.047 209.531);
  --primary-foreground: oklch(0.164 0.01 209.479);
  --secondary: oklch(0.764 0.058 171.109);
  --secondary-foreground: oklch(0.166 0.012 171.259);
  --accent: oklch(0.698 0.052 262.764);
  --accent-foreground: oklch(0.152 0.011 262.635);
  --destructive: oklch(0.596 0.177 42.269);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.752 0.047 209.531);
  --chart-1: oklch(0.752 0.047 209.531);
  --chart-2: oklch(0.764 0.058 171.109);
  --chart-3: oklch(0.698 0.052 262.764);
  --chart-4: oklch(0.784 0.053 171.41);
  --chart-5: oklch(0.756 0.051 209.569);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.001 209.464);
  --muted: oklch(0.293 0.032 169.828);
  --muted-foreground: oklch(0.775 0.017 172.935);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.985 0.001 209.466);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.985 0.001 209.466);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.752 0.047 209.531);
  --primary-foreground: oklch(0.164 0.01 209.479);
  --secondary: oklch(0.764 0.058 171.109);
  --secondary-foreground: oklch(0.166 0.012 171.259);
  --accent: oklch(0.698 0.052 262.764);
  --accent-foreground: oklch(0.152 0.011 262.635);
  --destructive: oklch(0.637 0.19 42.061);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.752 0.047 209.531);
  --chart-1: oklch(0.752 0.047 209.531);
  --chart-2: oklch(0.764 0.058 171.109);
  --chart-3: oklch(0.698 0.052 262.764);
  --chart-4: oklch(0.784 0.053 171.41);
  --chart-5: oklch(0.756 0.051 209.569);
}