Make Sense Blue 2 for shadcn/ui

Make Sense Blue 2 is a shadcn/ui theme built around a vivid indigo primary color (#6366f1) with muted light blue accents (#f3f4f6). The light mode uses a blue-tinted background (#f1f5f9). Dark mode switches to a vivid blue primary (#759cf4) on a blue-tinted background (#0f172a).

Color palette

TokenLightDark
Background
#f1f5f9whitesmoke
#0f172ablack
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#334155darkslategray
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#334155darkslategray
Popover foreground
#000000black
#ffffffwhite
Primary
#6366f1mediumslateblue
#759cf4cornflowerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#f3f4f6whitesmoke
#1f2937darkslategray
Secondary foreground
#000000black
#f9fafbghostwhite
Muted
#f3f4f6whitesmoke
#1f2937darkslategray
Muted foreground
#6b7280slategray
#9ca3afdarkgray
Accent
#f3f4f6whitesmoke
#1f2937darkslategray
Accent foreground
#000000black
#ffffffwhite
Destructive
#ef4444tomato
#ef4444tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6366f1mediumslateblue
#6366f1mediumslateblue

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card21.00:1AAA
Primary button4.46:1AA Large
Secondary button19.08:1AAA
Muted text4.39:1AA Large
Accent19.08:1AAA
Destructive3.76:1AA Large
Dark mode
Text on background17.85:1AAA
Text on card10.35:1AAA
Primary button2.69:1Fail
Secondary button14.02:1AAA
Muted text5.77:1AA
Accent14.66:1AAA
Destructive3.76:1AA Large

CSS variables

Paste this into your globals.css to use Make Sense Blue 2 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.968 0.007 247.896);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.967 0.003 264.542);
  --muted-foreground: oklch(0.551 0.023 264.365);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.585 0.204 277.118);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.967 0.003 264.542);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.967 0.003 264.542);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.637 0.208 25.326);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.585 0.204 277.118);
  --chart-1: oklch(0.677 0.157 35.19);
  --chart-2: oklch(0.631 0.101 183.491);
  --chart-3: oklch(0.379 0.044 225.539);
  --chart-4: oklch(0.834 0.119 88.146);
  --chart-5: oklch(0.783 0.126 58.749);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.208 0.04 265.752);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.278 0.03 256.848);
  --muted-foreground: oklch(0.714 0.019 261.333);
  --popover: oklch(0.372 0.039 257.281);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.372 0.039 257.281);
  --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.702 0.138 265.199);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.278 0.03 256.848);
  --secondary-foreground: oklch(0.984 0.002 247.84);
  --accent: oklch(0.278 0.03 256.848);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.637 0.208 25.33);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.585 0.204 277.118);
  --chart-1: oklch(0.529 0.193 262.129);
  --chart-2: oklch(0.698 0.134 165.463);
  --chart-3: oklch(0.723 0.15 60.631);
  --chart-4: oklch(0.619 0.204 312.728);
  --chart-5: oklch(0.612 0.209 6.386);
}