Extra-large for shadcn/ui

Extra-large is a shadcn/ui theme built around a deep blue primary color (#1d3354) with deep indigo accents (#221d54). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the deep blue primary (#1d3354) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfcfewhite
#000000black
Foreground
#010204black
#ffffffwhite
Card
#fbfcfewhite
#000000black
Card foreground
#010204black
#ffffffwhite
Popover
#fbfcfewhite
#000000black
Popover foreground
#010204black
#ffffffwhite
Primary
#1d3354darkslategray
#1d3354darkslategray
Primary foreground
#bbcde8lightsteelblue
#bbcde8lightsteelblue
Secondary
#1d4e54darkslategray
#1d4e54darkslategray
Secondary foreground
#bbe3e8powderblue
#bbe3e8powderblue
Muted
#eaf4f5whitesmoke
#0a1415black
Muted foreground
#4a5c5edarkslategray
#a1b3b5darkgray
Accent
#221d54midnightblue
#221d54midnightblue
Accent foreground
#bfbbe8lightsteelblue
#bfbbe8lightsteelblue
Destructive
#cb1410firebrick
#ec1713red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1d3354darkslategray
#1d3354darkslategray

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button7.91:1AAA
Secondary button6.72:1AA
Muted text6.29:1AA
Accent8.40:1AAA
Destructive5.76:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.91:1AAA
Secondary button6.72:1AA
Muted text8.59:1AAA
Accent8.40:1AAA
Destructive4.47:1AA Large

CSS variables

Paste this into your globals.css to use Extra-large in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 258.321);
  --foreground: oklch(0.085 0.013 247.621);
  --muted: oklch(0.96 0.01 204.91);
  --muted-foreground: oklch(0.461 0.022 204.716);
  --popover: oklch(0.991 0.003 258.321);
  --popover-foreground: oklch(0.085 0.013 247.621);
  --card: oklch(0.991 0.003 258.321);
  --card-foreground: oklch(0.085 0.013 247.621);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.319 0.066 258.292);
  --primary-foreground: oklch(0.842 0.043 258.372);
  --secondary: oklch(0.393 0.053 205.314);
  --secondary-foreground: oklch(0.889 0.043 204.718);
  --accent: oklch(0.272 0.096 282.435);
  --accent-foreground: oklch(0.809 0.063 289.492);
  --destructive: oklch(0.535 0.211 28.771);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.319 0.066 258.292);
  --chart-1: oklch(0.319 0.066 258.292);
  --chart-2: oklch(0.393 0.053 205.314);
  --chart-3: oklch(0.272 0.096 282.435);
  --chart-4: oklch(0.429 0.059 205.361);
  --chart-5: oklch(0.318 0.069 258.311);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.18 0.014 204.698);
  --muted-foreground: oklch(0.753 0.02 204.808);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.319 0.066 258.292);
  --primary-foreground: oklch(0.842 0.043 258.372);
  --secondary: oklch(0.393 0.053 205.314);
  --secondary-foreground: oklch(0.889 0.043 204.718);
  --accent: oklch(0.272 0.096 282.435);
  --accent-foreground: oklch(0.809 0.063 289.492);
  --destructive: oklch(0.598 0.237 28.842);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.319 0.066 258.292);
  --chart-1: oklch(0.319 0.066 258.292);
  --chart-2: oklch(0.393 0.053 205.314);
  --chart-3: oklch(0.272 0.096 282.435);
  --chart-4: oklch(0.429 0.059 205.361);
  --chart-5: oklch(0.318 0.069 258.311);
}