Hard-to-find for shadcn/ui

Hard-to-find is a shadcn/ui theme built around a cyan primary color (#8dd2dd) with blue accents (#8daadd). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the cyan primary (#8dd2dd) on a cyan-tinted background (#040b0c).

Color palette

TokenLightDark
Background
#fbfdfewhite
#040b0cblack
Foreground
#041316black
#f9fafbghostwhite
Card
#f8fcfcmintcream
#050e0fblack
Card foreground
#030f11black
#fcfdfdwhite
Popover
#fbfdfewhite
#040b0cblack
Popover foreground
#041316black
#f9fafbghostwhite
Primary
#8dd2ddskyblue
#8dd2ddskyblue
Primary foreground
#0d272bblack
#0d272bblack
Secondary
#8dddc0aquamarine
#8dddc0aquamarine
Secondary foreground
#0d2b20black
#0d2b20black
Muted
#d8e3dfgainsboro
#1c2723black
Muted foreground
#464e4bdarkslategray
#b1b9b6silver
Accent
#8daaddskyblue
#8daaddskyblue
Accent foreground
#0d182bblack
#0d182bblack
Destructive
#631c09maroon
#ee653ftomato
Destructive foreground
#f7b7a6lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8dd2ddskyblue
#8dd2ddskyblue

Contrast

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

Light mode
Text on background18.58:1AAA
Text on card18.75:1AAA
Primary button9.26:1AAA
Secondary button9.56:1AAA
Muted text6.54:1AA
Accent7.57:1AAA
Destructive7.24:1AAA
Dark mode
Text on background19.03:1AAA
Text on card19.14:1AAA
Primary button9.26:1AAA
Secondary button9.56:1AAA
Muted text7.71:1AAA
Accent7.57:1AAA
Destructive6.56:1AA

CSS variables

Paste this into your globals.css to use Hard-to-find in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 207.924);
  --foreground: oklch(0.175 0.023 207.595);
  --muted: oklch(0.908 0.013 172.146);
  --muted-foreground: oklch(0.415 0.011 171.821);
  --popover: oklch(0.994 0.002 207.924);
  --popover-foreground: oklch(0.175 0.023 207.595);
  --card: oklch(0.987 0.004 207.914);
  --card-foreground: oklch(0.159 0.02 206.694);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.823 0.071 208.031);
  --primary-foreground: oklch(0.255 0.033 208.8);
  --secondary: oklch(0.838 0.089 168.936);
  --secondary-foreground: oklch(0.263 0.042 166.229);
  --accent: oklch(0.736 0.081 261.174);
  --accent-foreground: oklch(0.21 0.042 260.748);
  --destructive: oklch(0.338 0.106 35.571);
  --destructive-foreground: oklch(0.835 0.079 36.035);
  --ring: oklch(0.823 0.071 208.031);
  --chart-1: oklch(0.823 0.071 208.031);
  --chart-2: oklch(0.838 0.089 168.936);
  --chart-3: oklch(0.736 0.081 261.174);
  --chart-4: oklch(0.854 0.081 169.432);
  --chart-5: oklch(0.826 0.074 208.068);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.013 205.577);
  --foreground: oklch(0.985 0.001 207.928);
  --muted: oklch(0.26 0.018 170.443);
  --muted-foreground: oklch(0.778 0.009 172.234);
  --popover: oklch(0.139 0.013 205.577);
  --popover-foreground: oklch(0.985 0.001 207.928);
  --card: oklch(0.155 0.015 206.93);
  --card-foreground: oklch(0.993 0.001 207.931);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.823 0.071 208.031);
  --primary-foreground: oklch(0.255 0.033 208.8);
  --secondary: oklch(0.838 0.089 168.936);
  --secondary-foreground: oklch(0.263 0.042 166.229);
  --accent: oklch(0.736 0.081 261.174);
  --accent-foreground: oklch(0.21 0.042 260.748);
  --destructive: oklch(0.672 0.178 36.247);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.823 0.071 208.031);
  --chart-1: oklch(0.823 0.071 208.031);
  --chart-2: oklch(0.838 0.089 168.936);
  --chart-3: oklch(0.736 0.081 261.174);
  --chart-4: oklch(0.854 0.081 169.432);
  --chart-5: oklch(0.826 0.074 208.068);
}