Blank for shadcn/ui

Blank is a shadcn/ui theme built around a muted deep teal primary color (#294747) with muted deep red accents (#472929). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep teal primary (#294747) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#051515black
#f9fbfamintcream
Card
#fcfcfcsnow
#030303black
Card foreground
#041111black
#fcfdfdwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#041111black
#fcfdfdwhite
Primary
#294747darkslategray
#294747darkslategray
Primary foreground
#c5ddddlightgrey
#c5ddddlightgrey
Secondary
#472929darkslategray
#472929darkslategray
Secondary foreground
#ddc5c5thistle
#ddc5c5thistle
Muted
#efdcdcmistyrose
#231010black
Muted foreground
#6a5353dimgray
#ac9596rosybrown
Accent
#472929darkslategray
#472929darkslategray
Accent foreground
#ddc5c5thistle
#ddc5c5thistle
Destructive
#6f100bmaroon
#ed4e45tomato
Destructive foreground
#f8b8b5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#294747darkslategray
#294747darkslategray

Contrast

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

Light mode
Text on background18.67:1AAA
Text on card18.79:1AAA
Primary button7.05:1AAA
Secondary button7.94:1AAA
Muted text5.34:1AA
Accent7.94:1AAA
Destructive7.11:1AAA
Dark mode
Text on background20.20:1AAA
Text on card20.29:1AAA
Primary button7.05:1AAA
Secondary button7.94:1AAA
Muted text6.50:1AA
Accent7.94:1AAA
Destructive3.64:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.181 0.023 193.919);
  --muted: oklch(0.909 0.022 16.406);
  --muted-foreground: oklch(0.466 0.03 17.177);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.163 0.02 194.058);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.163 0.02 194.058);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.375 0.036 194.359);
  --primary-foreground: oklch(0.881 0.026 195.459);
  --secondary: oklch(0.319 0.046 18.832);
  --secondary-foreground: oklch(0.843 0.028 16.573);
  --accent: oklch(0.319 0.046 18.832);
  --accent-foreground: oklch(0.843 0.028 16.573);
  --destructive: oklch(0.352 0.129 28.901);
  --destructive-foreground: oklch(0.84 0.074 22.193);
  --ring: oklch(0.375 0.036 194.359);
  --chart-1: oklch(0.375 0.036 194.359);
  --chart-2: oklch(0.319 0.046 18.832);
  --chart-3: oklch(0.319 0.046 18.832);
  --chart-4: oklch(0.347 0.051 18.92);
  --chart-5: oklch(0.379 0.039 194.234);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.001 195.951);
  --muted: oklch(0.201 0.034 19.441);
  --muted-foreground: oklch(0.691 0.027 16.682);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.993 0.001 195.962);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.001 195.962);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.375 0.036 194.359);
  --primary-foreground: oklch(0.881 0.026 195.459);
  --secondary: oklch(0.319 0.046 18.832);
  --secondary-foreground: oklch(0.843 0.028 16.573);
  --accent: oklch(0.319 0.046 18.832);
  --accent-foreground: oklch(0.843 0.028 16.573);
  --destructive: oklch(0.643 0.197 27.133);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.375 0.036 194.359);
  --chart-1: oklch(0.375 0.036 194.359);
  --chart-2: oklch(0.319 0.046 18.832);
  --chart-3: oklch(0.319 0.046 18.832);
  --chart-4: oklch(0.347 0.051 18.92);
  --chart-5: oklch(0.379 0.039 194.234);
}