Overall Groundwater for shadcn/ui

Overall Groundwater is a shadcn/ui theme built around a vivid indigo primary color (#1403aa) with muted indigo accents (#b3b0c9). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid indigo primary (#1403aa) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#000000black
Foreground
#000000black
#f6f6f9whitesmoke
Card
#fbfbfeghostwhite
#000000black
Card foreground
#000000black
#f6f6f9whitesmoke
Popover
#fbfbfeghostwhite
#000000black
Popover foreground
#000000black
#f6f6f9whitesmoke
Primary
#1403aadarkblue
#1403aadarkblue
Primary foreground
#e4e1felavender
#e4e1felavender
Secondary
#cbcad3lightgrey
#141315black
Secondary foreground
#32313adarkslategray
#aaa9b1darkgray
Muted
#e4e4e7gainsboro
#18181bblack
Muted foreground
#616161dimgray
#9e9e9edarkgray
Accent
#b3b0c9silver
#23222bdarkslategray
Accent foreground
#1e1d2ablack
#b9b8c7silver
Destructive
#d90602red
#fd2926crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8e8e9lavender
#1e1e1fblack
Input
#e8e8e9lavender
#1e1e1fblack
Ring
#1403aadarkblue
#1403aadarkblue

Contrast

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

Light mode
Text on background20.33:1AAA
Text on card20.33:1AAA
Primary button10.15:1AAA
Secondary button7.91:1AAA
Muted text4.88:1AA
Accent7.88:1AAA
Destructive5.27:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.46:1AAA
Primary button10.15:1AAA
Secondary button7.94:1AAA
Muted text6.61:1AA
Accent8.08:1AAA
Destructive3.80:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.004 290.937);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.92 0.004 290.929);
  --muted-foreground: oklch(0.492 0 180);
  --popover: oklch(0.989 0.004 290.937);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.989 0.004 290.937);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.93 0.001 290.989);
  --input: oklch(0.93 0.001 290.989);
  --primary: oklch(0.341 0.226 267.696);
  --primary-foreground: oklch(0.921 0.04 290.186);
  --secondary: oklch(0.843 0.012 290.744);
  --secondary-foreground: oklch(0.317 0.017 289.976);
  --accent: oklch(0.768 0.036 290.12);
  --accent-foreground: oklch(0.238 0.026 288.859);
  --destructive: oklch(0.557 0.227 29.312);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.341 0.226 267.696);
  --chart-1: oklch(0.341 0.226 267.696);
  --chart-2: oklch(0.843 0.012 290.744);
  --chart-3: oklch(0.768 0.036 290.12);
  --chart-4: oklch(0.868 0.01 290.795);
  --chart-5: oklch(0.343 0.23 267.113);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.974 0.004 290.935);
  --muted: oklch(0.211 0.006 290.473);
  --muted-foreground: oklch(0.7 0 180);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.974 0.004 290.935);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.974 0.004 290.935);
  --border: oklch(0.236 0.002 290.828);
  --input: oklch(0.236 0.002 290.828);
  --primary: oklch(0.341 0.226 267.696);
  --primary-foreground: oklch(0.921 0.04 290.186);
  --secondary: oklch(0.19 0.004 290.604);
  --secondary-foreground: oklch(0.739 0.012 290.716);
  --accent: oklch(0.256 0.017 289.71);
  --accent-foreground: oklch(0.787 0.022 290.494);
  --destructive: oklch(0.638 0.242 28.142);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.341 0.226 267.696);
  --chart-1: oklch(0.341 0.226 267.696);
  --chart-2: oklch(0.19 0.004 290.604);
  --chart-3: oklch(0.256 0.017 289.71);
  --chart-4: oklch(0.222 0.005 290.551);
  --chart-5: oklch(0.343 0.23 267.113);
}