Grand Deep Denim for shadcn/ui

Grand Deep Denim is a shadcn/ui theme built around a vivid blue primary color (#6e90ff) with near-white accents (#f1f1f1). The light mode uses a neutral background (#ffffff). Dark mode switches to a neutral gray primary (#c3c3c6) on a blue-tinted background (#07080d).

Color palette

TokenLightDark
Background
#ffffffwhite
#07080dblack
Foreground
#020408black
#fcfcfdwhite
Card
#fcfcfcsnow
#090b11black
Card foreground
#010204black
#ffffffwhite
Popover
#ffffffwhite
#07080dblack
Popover foreground
#020408black
#fcfcfdwhite
Primary
#6e90ffcornflowerblue
#c3c3c6silver
Primary foreground
#ffffffwhite
#2a2b2ddarkslategray
Secondary
#e9eefflavender
#2d2e2fdarkslategray
Secondary foreground
#2e323ddarkslategray
#b2b6c2silver
Muted
#e9ebf2lavender
#0d0f16black
Muted foreground
#5a5f72dimgray
#8d92a5lightslategray
Accent
#f1f1f1whitesmoke
#1d1f25black
Accent foreground
#2e323ddarkslategray
#b2b6c2silver
Destructive
#85300fsaddlebrown
#e75a23chocolate
Destructive foreground
#f9d9cdbisque
#ffffffwhite
Border
#e6e7ealavender
#1a1b1fblack
Input
#e6e7ealavender
#1a1b1fblack
Ring
#c3c3c6silver
#c3c3c6silver

Contrast

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

Light mode
Text on background20.51:1AAA
Text on card20.30:1AAA
Primary button2.97:1Fail
Secondary button11.04:1AAA
Muted text5.30:1AA
Accent11.36:1AAA
Destructive6.50:1AA
Dark mode
Text on background19.47:1AAA
Text on card19.71:1AAA
Primary button8.07:1AAA
Secondary button6.73:1AA
Muted text6.16:1AA
Accent8.12:1AAA
Destructive3.57:1AA Large

CSS variables

Paste this into your globals.css to use Grand Deep Denim in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.105 0.014 266.197);
  --muted: oklch(0.94 0.009 272.552);
  --muted-foreground: oklch(0.489 0.031 271.899);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.105 0.014 266.197);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.083 0.011 266.197);
  --border: oklch(0.928 0.004 272.608);
  --input: oklch(0.928 0.004 272.608);
  --primary: oklch(0.679 0.169 268.86);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.95 0.024 272.383);
  --secondary-foreground: oklch(0.317 0.021 271.852);
  --accent: oklch(0.959 0 187.595);
  --accent-foreground: oklch(0.317 0.021 271.852);
  --destructive: oklch(0.429 0.124 39.49);
  --destructive-foreground: oklch(0.909 0.04 42.797);
  --ring: oklch(0.819 0.004 272.608);
  --chart-1: oklch(0.679 0.169 268.86);
  --chart-2: oklch(0.95 0.024 272.383);
  --chart-3: oklch(0.959 0 187.595);
  --chart-4: oklch(0.984 0.007 272.579);
  --chart-5: oklch(0.677 0.174 268.711);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.012 269.761);
  --foreground: oklch(0.991 0.002 272.641);
  --muted: oklch(0.172 0.015 271.585);
  --muted-foreground: oklch(0.663 0.029 272.164);
  --popover: oklch(0.138 0.012 269.761);
  --popover-foreground: oklch(0.991 0.002 272.641);
  --card: oklch(0.149 0.014 271.111);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.221 0.008 272.265);
  --input: oklch(0.221 0.008 272.265);
  --primary: oklch(0.819 0.004 272.608);
  --primary-foreground: oklch(0.288 0.004 272.521);
  --secondary: oklch(0.3 0.003 272.566);
  --secondary-foreground: oklch(0.776 0.018 272.398);
  --accent: oklch(0.24 0.012 272.076);
  --accent-foreground: oklch(0.776 0.018 272.398);
  --destructive: oklch(0.644 0.186 39.552);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.819 0.004 272.608);
  --chart-1: oklch(0.819 0.004 272.608);
  --chart-2: oklch(0.3 0.003 272.566);
  --chart-3: oklch(0.24 0.012 272.076);
  --chart-4: oklch(0.33 0.003 272.563);
  --chart-5: oklch(0.816 0.008 272.558);
}