Default for shadcn/ui

Default is a shadcn/ui theme built around a vivid blue primary color (#5eb0f7) with neutral gray accents (#dcdee0). The light mode uses a neutral background (#f6fafd). Dark mode keeps the vivid blue primary (#5eb0f7) on a blue-tinted background (#04080c).

Color palette

TokenLightDark
Background
#f6fafdghostwhite
#04080cblack
Foreground
#010304black
#fcfcfdwhite
Card
#f6fafdghostwhite
#04080cblack
Card foreground
#010304black
#fcfcfdwhite
Popover
#f6fafdghostwhite
#04080cblack
Popover foreground
#010304black
#fcfcfdwhite
Primary
#5eb0f7cornflowerblue
#5eb0f7cornflowerblue
Primary foreground
#021322black
#021322black
Secondary
#dcdee0gainsboro
#1a1f23black
Secondary foreground
#40454adarkslategray
#acb8c3silver
Muted
#d5d9dcgainsboro
#23262adarkslategray
Muted foreground
#454545darkslategray
#bababasilver
Accent
#dcdee0gainsboro
#1a1f23black
Accent foreground
#40454adarkslategray
#acb8c3silver
Destructive
#cd3f13firebrick
#ec6136tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5eb0f7cornflowerblue
#5eb0f7cornflowerblue

Contrast

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

Light mode
Text on background19.73:1AAA
Text on card19.73:1AAA
Primary button8.07:1AAA
Secondary button7.17:1AAA
Muted text6.75:1AA
Accent7.17:1AAA
Destructive4.86:1AA
Dark mode
Text on background19.61:1AAA
Text on card19.61:1AAA
Primary button8.07:1AAA
Secondary button8.23:1AAA
Muted text7.80:1AAA
Accent8.23:1AAA
Destructive6.33:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.006 244.162);
  --foreground: oklch(0.09 0.01 236.266);
  --muted: oklch(0.883 0.006 244.173);
  --muted-foreground: oklch(0.39 0 165.964);
  --popover: oklch(0.984 0.006 244.162);
  --popover-foreground: oklch(0.09 0.01 236.266);
  --card: oklch(0.984 0.006 244.162);
  --card-foreground: oklch(0.09 0.01 236.266);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.735 0.131 247.119);
  --primary-foreground: oklch(0.18 0.041 244.718);
  --secondary: oklch(0.899 0.004 244.145);
  --secondary-foreground: oklch(0.388 0.01 244.417);
  --accent: oklch(0.899 0.004 244.145);
  --accent-foreground: oklch(0.388 0.01 244.417);
  --destructive: oklch(0.57 0.186 35.74);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.735 0.131 247.119);
  --chart-1: oklch(0.735 0.131 247.119);
  --chart-2: oklch(0.899 0.004 244.145);
  --chart-3: oklch(0.899 0.004 244.145);
  --chart-4: oklch(0.923 0.003 244.131);
  --chart-5: oklch(0.736 0.135 247.266);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.13 0.013 237.326);
  --foreground: oklch(0.992 0.001 244.099);
  --muted: oklch(0.268 0.008 244.46);
  --muted-foreground: oklch(0.789 0 171.254);
  --popover: oklch(0.13 0.013 237.326);
  --popover-foreground: oklch(0.992 0.001 244.099);
  --card: oklch(0.13 0.013 237.326);
  --card-foreground: oklch(0.992 0.001 244.099);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.735 0.131 247.119);
  --primary-foreground: oklch(0.18 0.041 244.718);
  --secondary: oklch(0.236 0.012 244.713);
  --secondary-foreground: oklch(0.778 0.02 244.415);
  --accent: oklch(0.236 0.012 244.713);
  --accent-foreground: oklch(0.778 0.02 244.415);
  --destructive: oklch(0.663 0.182 37.176);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.735 0.131 247.119);
  --chart-1: oklch(0.735 0.131 247.119);
  --chart-2: oklch(0.236 0.012 244.713);
  --chart-3: oklch(0.236 0.012 244.713);
  --chart-4: oklch(0.267 0.014 244.756);
  --chart-5: oklch(0.736 0.135 247.266);
}