Descriptive for shadcn/ui

Descriptive is a shadcn/ui theme built around a vivid blue primary color (#1c8ad4) with muted light blue accents (#d3dade). The light mode uses a neutral background (#f6fbfd). Dark mode keeps the vivid blue primary (#1c8ad4) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f6fbfdghostwhite
#000000black
Foreground
#000000black
#f5f8f9whitesmoke
Card
#f2f8fdaliceblue
#030303black
Card foreground
#000000black
#f9fafbghostwhite
Popover
#f6fbfdghostwhite
#000000black
Popover foreground
#000000black
#f5f8f9whitesmoke
Primary
#1c8ad4dodgerblue
#1c8ad4dodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e6e8ealavender
#1d252adarkslategray
Secondary foreground
#485056darkslategray
#b1bfc9silver
Muted
#d8e2e9gainsboro
#162027black
Muted foreground
#515558dimgray
#a7acaedarkgray
Accent
#d3dadegainsboro
#24333ddarkslategray
Accent foreground
#364249darkslategray
#bcccd7lightsteelblue
Destructive
#bc3306firebrick
#f9622ftomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1c8ad4dodgerblue
#1c8ad4dodgerblue

Contrast

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

Light mode
Text on background20.10:1AAA
Text on card19.66:1AAA
Primary button3.71:1AA Large
Secondary button6.70:1AA
Muted text5.72:1AA
Accent7.30:1AAA
Destructive5.80:1AA
Dark mode
Text on background19.67:1AAA
Text on card19.78:1AAA
Primary button3.71:1AA Large
Secondary button8.26:1AAA
Muted text7.18:1AAA
Accent7.90:1AAA
Destructive6.78:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.006 236.522);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.907 0.015 236.676);
  --muted-foreground: oklch(0.446 0.007 236.657);
  --popover: oklch(0.985 0.006 236.522);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.977 0.009 236.567);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.613 0.145 244.877);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.931 0.003 236.489);
  --secondary-foreground: oklch(0.427 0.014 236.943);
  --accent: oklch(0.884 0.01 236.595);
  --accent-foreground: oklch(0.371 0.02 237.285);
  --destructive: oklch(0.528 0.18 35.551);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.613 0.145 244.877);
  --chart-1: oklch(0.613 0.145 244.877);
  --chart-2: oklch(0.931 0.003 236.489);
  --chart-3: oklch(0.884 0.01 236.595);
  --chart-4: oklch(0.954 0.002 236.47);
  --chart-5: oklch(0.616 0.149 245.377);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.977 0.003 236.482);
  --muted: oklch(0.238 0.02 237.918);
  --muted-foreground: oklch(0.74 0.006 236.552);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.977 0.003 236.482);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.985 0.002 236.466);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.613 0.145 244.877);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.259 0.015 237.334);
  --secondary-foreground: oklch(0.797 0.021 236.821);
  --accent: oklch(0.312 0.026 237.873);
  --accent-foreground: oklch(0.837 0.023 236.844);
  --destructive: oklch(0.682 0.195 37.882);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.613 0.145 244.877);
  --chart-1: oklch(0.613 0.145 244.877);
  --chart-2: oklch(0.259 0.015 237.334);
  --chart-3: oklch(0.312 0.026 237.873);
  --chart-4: oklch(0.291 0.017 237.387);
  --chart-5: oklch(0.616 0.149 245.377);
}