Timid Blue Mite for shadcn/ui

Timid Blue Mite is a shadcn/ui theme built around a light blue primary color (#dbe3f0) with light green accents (#e3f0db). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the light blue primary (#dbe3f0) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8f9fcghostwhite
#000000black
Foreground
#030812black
#f8fafbghostwhite
Card
#f8f9fcghostwhite
#000000black
Card foreground
#030812black
#f8fafbghostwhite
Popover
#f8f9fcghostwhite
#000000black
Popover foreground
#030812black
#f8fafbghostwhite
Primary
#dbe3f0lavender
#dbe3f0lavender
Primary foreground
#2c456ddarkslategray
#2c456ddarkslategray
Secondary
#f0dbe3mistyrose
#f0dbe3mistyrose
Secondary foreground
#6d2c45brown
#6d2c45brown
Muted
#dfd2d7gainsboro
#2d2025darkslategray
Muted foreground
#4c3e43darkslategray
#c1b3b9silver
Accent
#e3f0dbbeige
#e3f0dbbeige
Accent foreground
#17240fblack
#17240fblack
Destructive
#8f0c0adarkred
#f24340tomato
Destructive foreground
#fcd0cfpink
#ffffffwhite
Border
#dcdfe5gainsboro
#1d2026black
Input
#dcdfe5gainsboro
#1d2026black
Ring
#dbe3f0lavender
#dbe3f0lavender

Contrast

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

Light mode
Text on background19.07:1AAA
Text on card19.07:1AAA
Primary button7.45:1AAA
Secondary button7.59:1AAA
Muted text6.91:1AA
Accent13.71:1AAA
Destructive6.76:1AA
Dark mode
Text on background20.05:1AAA
Text on card20.05:1AAA
Primary button7.45:1AAA
Secondary button7.59:1AAA
Muted text7.76:1AAA
Accent13.71:1AAA
Destructive3.71:1AA Large

CSS variables

Paste this into your globals.css to use Timid Blue Mite in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 259.939);
  --foreground: oklch(0.135 0.024 252.365);
  --muted: oklch(0.876 0.016 352.101);
  --muted-foreground: oklch(0.38 0.021 353.101);
  --popover: oklch(0.983 0.004 259.939);
  --popover-foreground: oklch(0.135 0.024 252.365);
  --card: oklch(0.983 0.004 259.939);
  --card-foreground: oklch(0.135 0.024 252.365);
  --border: oklch(0.904 0.008 259.943);
  --input: oklch(0.904 0.008 259.943);
  --primary: oklch(0.914 0.02 259.945);
  --primary-foreground: oklch(0.39 0.074 259.541);
  --secondary: oklch(0.911 0.026 352.388);
  --secondary-foreground: oklch(0.392 0.096 358.407);
  --accent: oklch(0.94 0.032 133.221);
  --accent-foreground: oklch(0.242 0.042 134.487);
  --destructive: oklch(0.414 0.162 28.651);
  --destructive-foreground: oklch(0.895 0.049 19.258);
  --ring: oklch(0.914 0.02 259.945);
  --chart-1: oklch(0.914 0.02 259.945);
  --chart-2: oklch(0.911 0.026 352.388);
  --chart-3: oklch(0.94 0.032 133.221);
  --chart-4: oklch(0.937 0.018 352.131);
  --chart-5: oklch(0.913 0.022 259.945);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.983 0.003 259.937);
  --muted: oklch(0.26 0.022 353.864);
  --muted-foreground: oklch(0.781 0.017 352.214);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.983 0.003 259.937);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.983 0.003 259.937);
  --border: oklch(0.243 0.012 259.917);
  --input: oklch(0.243 0.012 259.917);
  --primary: oklch(0.914 0.02 259.945);
  --primary-foreground: oklch(0.39 0.074 259.541);
  --secondary: oklch(0.911 0.026 352.388);
  --secondary-foreground: oklch(0.392 0.096 358.407);
  --accent: oklch(0.94 0.032 133.221);
  --accent-foreground: oklch(0.242 0.042 134.487);
  --destructive: oklch(0.64 0.212 26.277);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.914 0.02 259.945);
  --chart-1: oklch(0.914 0.02 259.945);
  --chart-2: oklch(0.911 0.026 352.388);
  --chart-3: oklch(0.94 0.032 133.221);
  --chart-4: oklch(0.937 0.018 352.131);
  --chart-5: oklch(0.913 0.022 259.945);
}