Overlooked for shadcn/ui

Overlooked is a shadcn/ui theme built around a near-black primary color (#020402) with near-black accents (#040203). The light mode uses a neutral background (#f6fdfa). Dark mode keeps the near-black primary (#020402) on a neutral background (#030705).

Color palette

TokenLightDark
Background
#f6fdfamintcream
#030705black
Foreground
#02120ablack
#f9fbfamintcream
Card
#f2fcf7mintcream
#040b07black
Card foreground
#020d07black
#fcfdfcwhite
Popover
#f2fcf7mintcream
#040b07black
Popover foreground
#020d07black
#fcfdfcwhite
Primary
#020402black
#020402black
Primary foreground
#74c399mediumaquamarine
#74c399mediumaquamarine
Secondary
#040203black
#040203black
Secondary foreground
#c3749epalevioletred
#c3749epalevioletred
Muted
#eee2e8mistyrose
#1d1117black
Muted foreground
#444042darkslategray
#bfbbbdsilver
Accent
#040203black
#040203black
Accent foreground
#c3749epalevioletred
#c3749epalevioletred
Destructive
#85340fsaddlebrown
#e96e35tomato
Destructive foreground
#f9dbcdbisque
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#020402black
#020402black

Contrast

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

Light mode
Text on background18.65:1AAA
Text on card18.91:1AAA
Primary button9.82:1AAA
Secondary button6.23:1AA
Muted text8.12:1AAA
Accent6.23:1AA
Destructive6.41:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.48:1AAA
Primary button9.82:1AAA
Secondary button6.23:1AA
Muted text9.65:1AAA
Accent6.23:1AA
Destructive6.72:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.009 163.223);
  --foreground: oklch(0.164 0.03 160.867);
  --muted: oklch(0.925 0.015 343.843);
  --muted-foreground: oklch(0.377 0.006 343.867);
  --popover: oklch(0.983 0.013 163.109);
  --popover-foreground: oklch(0.145 0.026 162.816);
  --card: oklch(0.983 0.013 163.109);
  --card-foreground: oklch(0.145 0.026 162.816);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.096 0.01 163.496);
  --primary-foreground: oklch(0.755 0.1 159.418);
  --secondary: oklch(0.087 0.011 343.384);
  --secondary-foreground: oklch(0.657 0.113 347.43);
  --accent: oklch(0.087 0.011 343.384);
  --accent-foreground: oklch(0.657 0.113 347.43);
  --destructive: oklch(0.434 0.121 41.826);
  --destructive-foreground: oklch(0.912 0.039 46.421);
  --ring: oklch(0.096 0.01 163.496);
  --chart-1: oklch(0.096 0.01 163.496);
  --chart-2: oklch(0.087 0.011 343.384);
  --chart-3: oklch(0.087 0.011 343.384);
  --chart-4: oklch(0.138 0.019 344.971);
  --chart-5: oklch(0.097 0.01 163.499);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.014 163.501);
  --foreground: oklch(0.986 0.002 163.382);
  --muted: oklch(0.197 0.022 346.083);
  --muted-foreground: oklch(0.795 0.005 343.612);
  --popover: oklch(0.14 0.016 163.393);
  --popover-foreground: oklch(0.993 0.001 163.413);
  --card: oklch(0.14 0.016 163.393);
  --card-foreground: oklch(0.993 0.001 163.413);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.096 0.01 163.496);
  --primary-foreground: oklch(0.755 0.1 159.418);
  --secondary: oklch(0.087 0.011 343.384);
  --secondary-foreground: oklch(0.657 0.113 347.43);
  --accent: oklch(0.087 0.011 343.384);
  --accent-foreground: oklch(0.657 0.113 347.43);
  --destructive: oklch(0.676 0.167 43.264);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.096 0.01 163.496);
  --chart-1: oklch(0.096 0.01 163.496);
  --chart-2: oklch(0.087 0.011 343.384);
  --chart-3: oklch(0.087 0.011 343.384);
  --chart-4: oklch(0.138 0.019 344.971);
  --chart-5: oklch(0.097 0.01 163.499);
}