Bland for shadcn/ui

Bland is a shadcn/ui theme built around a light blue primary color (#dde7f3) with light indigo accents (#dfddf3). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#dde7f3) on a blue-tinted background (#070a0e).

Color palette

TokenLightDark
Background
#ffffffwhite
#070a0eblack
Foreground
#030c17black
#fcfcfdwhite
Card
#ffffffwhite
#070a0eblack
Card foreground
#030c17black
#fcfcfdwhite
Popover
#ffffffwhite
#070a0eblack
Popover foreground
#030c17black
#fcfcfdwhite
Primary
#dde7f3lavender
#dde7f3lavender
Primary foreground
#2b4b73darkslategray
#2b4b73darkslategray
Secondary
#ddf2f3lavender
#ddf2f3lavender
Secondary foreground
#0f2829black
#0f2829black
Muted
#eaf0f0whitesmoke
#0f1515black
Muted foreground
#587374dimgray
#8ba6a7darkgray
Accent
#dfddf3lavender
#dfddf3lavender
Accent foreground
#2e2b73midnightblue
#2e2b73midnightblue
Destructive
#721b08maroon
#ef451forangered
Destructive foreground
#fac0b3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dde7f3lavender
#dde7f3lavender

Contrast

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

Light mode
Text on background19.64:1AAA
Text on card19.64:1AAA
Primary button7.13:1AAA
Secondary button13.29:1AAA
Muted text4.42:1AA Large
Accent9.24:1AAA
Destructive7.02:1AAA
Dark mode
Text on background19.36:1AAA
Text on card19.36:1AAA
Primary button7.13:1AAA
Secondary button13.29:1AAA
Muted text7.14:1AAA
Accent9.24:1AAA
Destructive3.77:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.15 0.029 249.215);
  --muted: oklch(0.951 0.006 200.81);
  --muted-foreground: oklch(0.534 0.032 200.265);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.15 0.029 249.215);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.15 0.029 249.215);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.924 0.019 253.35);
  --primary-foreground: oklch(0.409 0.078 254.367);
  --secondary: oklch(0.945 0.021 200.626);
  --secondary-foreground: oklch(0.257 0.03 199.979);
  --accent: oklch(0.906 0.029 288.111);
  --accent-foreground: oklch(0.338 0.121 279.978);
  --destructive: oklch(0.368 0.124 33.653);
  --destructive-foreground: oklch(0.856 0.07 32.915);
  --ring: oklch(0.924 0.019 253.35);
  --chart-1: oklch(0.924 0.019 253.35);
  --chart-2: oklch(0.945 0.021 200.626);
  --chart-3: oklch(0.906 0.029 288.111);
  --chart-4: oklch(0.964 0.014 200.713);
  --chart-5: oklch(0.924 0.02 253.358);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.01 250.721);
  --foreground: oklch(0.992 0.001 253.226);
  --muted: oklch(0.188 0.009 200.372);
  --muted-foreground: oklch(0.705 0.03 200.414);
  --popover: oklch(0.142 0.01 250.721);
  --popover-foreground: oklch(0.992 0.001 253.226);
  --card: oklch(0.142 0.01 250.721);
  --card-foreground: oklch(0.992 0.001 253.226);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.924 0.019 253.35);
  --primary-foreground: oklch(0.409 0.078 254.367);
  --secondary: oklch(0.945 0.021 200.626);
  --secondary-foreground: oklch(0.257 0.03 199.979);
  --accent: oklch(0.906 0.029 288.111);
  --accent-foreground: oklch(0.338 0.121 279.978);
  --destructive: oklch(0.635 0.212 33.67);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.924 0.019 253.35);
  --chart-1: oklch(0.924 0.019 253.35);
  --chart-2: oklch(0.945 0.021 200.626);
  --chart-3: oklch(0.906 0.029 288.111);
  --chart-4: oklch(0.964 0.014 200.713);
  --chart-5: oklch(0.924 0.02 253.358);
}