Interested Too Blue to be True for shadcn/ui

Interested Too Blue to be True is a shadcn/ui theme built around a vivid blue primary color (#2189fb) with vivid light blue accents (#c0e6ff). The light mode uses a neutral background (#ffffff). Dark mode switches to a vivid yellow primary (#f8be00) on a red-tinted background (#0e0706).

Color palette

TokenLightDark
Background
#ffffffwhite
#0e0706black
Foreground
#202020black
#faf5f5whitesmoke
Card
#ffffffwhite
#0e0706black
Card foreground
#040101black
#faf5f5whitesmoke
Popover
#ffffffwhite
#0e0706black
Popover foreground
#040101black
#faf5f5whitesmoke
Primary
#2189fbdodgerblue
#f8be00gold
Primary foreground
#ffffffwhite
#52452adarkolivegreen
Secondary
#838fablightslategray
#d7c4a0tan
Secondary foreground
#ffffffwhite
#0c0d0cblack
Muted
#f1f5f9whitesmoke
#151e16black
Muted foreground
#666666dimgray
#999999darkgray
Accent
#c0e6ffpaleturquoise
#a2a1aadarkgray
Accent foreground
#000000black
#0c0c0dblack
Destructive
#c02732firebrick
#ea4e06orangered
Destructive foreground
#ffdecfbisque
#ffffffwhite
Border
#ebe5e5linen
#231b1ablack
Input
#ebe5e5linen
#231b1ablack
Ring
#aaa2a1darkgray
#aaa2a1darkgray

Contrast

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

Light mode
Text on background16.29:1AAA
Text on card20.79:1AAA
Primary button3.46:1AA Large
Secondary button3.24:1AA Large
Muted text5.24:1AA
Accent16.03:1AAA
Destructive4.63:1AA
Dark mode
Text on background18.49:1AAA
Text on card18.49:1AAA
Primary button5.50:1AA
Secondary button11.39:1AAA
Muted text6.01:1AA
Accent7.66:1AAA
Destructive3.76:1AA Large

CSS variables

Paste this into your globals.css to use Interested Too Blue to be True in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.244 0 169.695);
  --muted: oklch(0.968 0.007 247.895);
  --muted-foreground: oklch(0.51 0 171.87);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.083 0.015 29.619);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.083 0.015 29.619);
  --border: oklch(0.927 0.007 23.654);
  --input: oklch(0.927 0.007 23.654);
  --primary: oklch(0.636 0.192 254.861);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.649 0.044 267.182);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.906 0.052 236.914);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.528 0.188 23.174);
  --destructive-foreground: oklch(0.924 0.042 46.4);
  --ring: oklch(0.719 0.01 23.714);
  --chart-1: oklch(0.636 0.192 254.861);
  --chart-2: oklch(0.649 0.044 267.182);
  --chart-3: oklch(0.906 0.052 236.914);
  --chart-4: oklch(0.676 0.04 267.26);
  --chart-5: oklch(0.637 0.197 255.129);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.015 26.34);
  --foreground: oklch(0.974 0.005 23.634);
  --muted: oklch(0.222 0.019 147.134);
  --muted-foreground: oklch(0.683 0 180);
  --popover: oklch(0.138 0.015 26.34);
  --popover-foreground: oklch(0.974 0.005 23.634);
  --card: oklch(0.138 0.015 26.34);
  --card-foreground: oklch(0.974 0.005 23.634);
  --border: oklch(0.231 0.013 24.245);
  --input: oklch(0.231 0.013 24.245);
  --primary: oklch(0.831 0.17 86.287);
  --primary-foreground: oklch(0.397 0.045 84.76);
  --secondary: oklch(0.827 0.053 83.348);
  --secondary-foreground: oklch(0.159 0.003 147.85);
  --accent: oklch(0.713 0.013 289.906);
  --accent-foreground: oklch(0.156 0.003 289.921);
  --destructive: oklch(0.634 0.202 38.662);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.719 0.01 23.714);
  --chart-1: oklch(0.831 0.17 86.287);
  --chart-2: oklch(0.827 0.053 83.348);
  --chart-3: oklch(0.713 0.013 289.906);
  --chart-4: oklch(0.847 0.047 83.397);
  --chart-5: oklch(0.839 0.172 85.904);
}