Stimulating for shadcn/ui

Stimulating is a shadcn/ui theme built around a vivid blue primary color (#2b6de9) with vivid green accents (#6de92b). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#2b6de9) on a neutral background (#020203).

Color palette

TokenLightDark
Background
#ffffffwhite
#020203black
Foreground
#060b14black
#fcfcfdwhite
Card
#ffffffwhite
#020203black
Card foreground
#060b14black
#fcfcfdwhite
Popover
#ffffffwhite
#020203black
Popover foreground
#060b14black
#fcfcfdwhite
Primary
#2b6de9royalblue
#2b6de9royalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e92b6dmediumvioletred
#e92b6dmediumvioletred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ded3d7gainsboro
#2c2125darkslategray
Muted foreground
#594a4fdarkslategray
#b5a6abdarkgray
Accent
#6de92blawngreen
#6de92blawngreen
Accent foreground
#1b4107darkgreen
#1b4107darkgreen
Destructive
#c82c14firebrick
#ea432achocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2b6de9royalblue
#2b6de9royalblue

Contrast

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

Light mode
Text on background19.70:1AAA
Text on card19.70:1AAA
Primary button4.69:1AA
Secondary button4.18:1AA Large
Muted text5.72:1AA
Accent7.37:1AAA
Destructive5.51:1AA
Dark mode
Text on background20.20:1AAA
Text on card20.20:1AAA
Primary button4.69:1AA
Secondary button4.18:1AA Large
Muted text6.69:1AA
Accent7.37:1AAA
Destructive3.93:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.147 0.021 259.975);
  --muted: oklch(0.877 0.014 354.021);
  --muted-foreground: oklch(0.427 0.021 354.966);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.147 0.021 259.975);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.147 0.021 259.975);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.566 0.199 261.401);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.615 0.223 7.03);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.829 0.241 137.689);
  --accent-foreground: oklch(0.333 0.094 137.33);
  --destructive: oklch(0.543 0.195 31.572);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.566 0.199 261.401);
  --chart-1: oklch(0.566 0.199 261.401);
  --chart-2: oklch(0.615 0.223 7.03);
  --chart-3: oklch(0.829 0.241 137.689);
  --chart-4: oklch(0.629 0.215 5.254);
  --chart-5: oklch(0.566 0.206 261.421);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.007 258.318);
  --foreground: oklch(0.991 0.002 263.051);
  --muted: oklch(0.261 0.019 355.575);
  --muted-foreground: oklch(0.739 0.018 354.28);
  --popover: oklch(0.088 0.007 258.318);
  --popover-foreground: oklch(0.991 0.002 263.051);
  --card: oklch(0.088 0.007 258.318);
  --card-foreground: oklch(0.991 0.002 263.051);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.566 0.199 261.401);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.615 0.223 7.03);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.829 0.241 137.689);
  --accent-foreground: oklch(0.333 0.094 137.33);
  --destructive: oklch(0.625 0.207 31.649);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.566 0.199 261.401);
  --chart-1: oklch(0.566 0.199 261.401);
  --chart-2: oklch(0.615 0.223 7.03);
  --chart-3: oklch(0.829 0.241 137.689);
  --chart-4: oklch(0.629 0.215 5.254);
  --chart-5: oklch(0.566 0.206 261.421);
}