Cultivated for shadcn/ui

Cultivated is a shadcn/ui theme built around a vivid blue primary color (#1e47eb) with vivid green accents (#47eb1e). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the vivid blue primary (#1e47eb) on a neutral background (#020308).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#020308black
Foreground
#030717black
#fcfcfdwhite
Card
#fcfcfdwhite
#020308black
Card foreground
#030717black
#fcfcfdwhite
Popover
#fcfcfdwhite
#020308black
Popover foreground
#030717black
#fcfcfdwhite
Primary
#1e47ebroyalblue
#1e47ebroyalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#eb1e47crimson
#eb1e47crimson
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e6d5d9gainsboro
#2a191cblack
Muted foreground
#504e4fdarkslategray
#b1afafdarkgray
Accent
#47eb1elimegreen
#47eb1elimegreen
Accent foreground
#0f3805darkgreen
#0f3805darkgreen
Destructive
#d21904firebrick
#f51d05red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1e47ebroyalblue
#1e47ebroyalblue

Contrast

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

Light mode
Text on background19.55:1AAA
Text on card19.55:1AAA
Primary button6.64:1AA
Secondary button4.35:1AA Large
Muted text5.86:1AA
Accent8.32:1AAA
Destructive5.41:1AA
Dark mode
Text on background20.06:1AAA
Text on card20.06:1AAA
Primary button6.64:1AA
Secondary button4.35:1AA Large
Muted text7.70:1AAA
Accent8.32:1AAA
Destructive4.15:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 275.014);
  --foreground: oklch(0.133 0.037 265.887);
  --muted: oklch(0.889 0.02 3.775);
  --muted-foreground: oklch(0.426 0.002 3.32);
  --popover: oklch(0.991 0.002 275.014);
  --popover-foreground: oklch(0.133 0.037 265.887);
  --card: oklch(0.991 0.002 275.014);
  --card-foreground: oklch(0.133 0.037 265.887);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.495 0.248 265.567);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.605 0.23 18.931);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.824 0.262 140.784);
  --accent-foreground: oklch(0.301 0.09 140.119);
  --destructive: oklch(0.55 0.215 30.379);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.495 0.248 265.567);
  --chart-1: oklch(0.495 0.248 265.567);
  --chart-2: oklch(0.605 0.23 18.931);
  --chart-3: oklch(0.824 0.262 140.784);
  --chart-4: oklch(0.616 0.223 16.906);
  --chart-5: oklch(0.495 0.255 265.308);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.102 0.017 267.869);
  --foreground: oklch(0.991 0.001 275.017);
  --muted: oklch(0.235 0.028 6.358);
  --muted-foreground: oklch(0.756 0.002 3.25);
  --popover: oklch(0.102 0.017 267.869);
  --popover-foreground: oklch(0.991 0.001 275.017);
  --card: oklch(0.102 0.017 267.869);
  --card-foreground: oklch(0.991 0.001 275.017);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.495 0.248 265.567);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.605 0.23 18.931);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.824 0.262 140.784);
  --accent-foreground: oklch(0.301 0.09 140.119);
  --destructive: oklch(0.617 0.243 30.291);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.495 0.248 265.567);
  --chart-1: oklch(0.495 0.248 265.567);
  --chart-2: oklch(0.605 0.23 18.931);
  --chart-3: oklch(0.824 0.262 140.784);
  --chart-4: oklch(0.616 0.223 16.906);
  --chart-5: oklch(0.495 0.255 265.308);
}