Famous for shadcn/ui

Famous is a shadcn/ui theme built around a vivid blue primary color (#0058db) with vivid green accents (#58db00). The light mode uses a neutral background (#f8fafc). Dark mode keeps the vivid blue primary (#0058db) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#f8fafcghostwhite
#010204black
Foreground
#010409black
#f8fafcghostwhite
Card
#f5f7fawhitesmoke
#030507black
Card foreground
#010204black
#fcfcfdwhite
Popover
#f8fafcghostwhite
#010204black
Popover foreground
#010409black
#f8fafcghostwhite
Primary
#0058dbroyalblue
#0058dbroyalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#db0058crimson
#db0058crimson
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e7dee2gainsboro
#21181bblack
Muted foreground
#434242darkslategray
#bdbcbdsilver
Accent
#58db00lawngreen
#58db00lawngreen
Accent foreground
#060f00black
#060f00black
Destructive
#e64500orangered
#f04800orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0058dbroyalblue
#0058dbroyalblue

Contrast

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

Light mode
Text on background19.57:1AAA
Text on card19.31:1AAA
Primary button6.15:1AA
Secondary button5.04:1AA
Muted text7.63:1AAA
Accent10.75:1AAA
Destructive4.04:1AA Large
Dark mode
Text on background19.80:1AAA
Text on card19.93:1AAA
Primary button6.15:1AA
Secondary button5.04:1AA
Muted text9.19:1AAA
Accent10.75:1AAA
Destructive3.73:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.003 258.321);
  --foreground: oklch(0.107 0.017 247.447);
  --muted: oklch(0.91 0.011 350.959);
  --muted-foreground: oklch(0.379 0.002 350.772);
  --popover: oklch(0.983 0.003 258.321);
  --popover-foreground: oklch(0.107 0.017 247.447);
  --card: oklch(0.975 0.005 258.325);
  --card-foreground: oklch(0.085 0.014 247.447);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.505 0.214 260.643);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.57 0.228 10.119);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.787 0.245 138.377);
  --accent-foreground: oklch(0.154 0.042 130.606);
  --destructive: oklch(0.617 0.206 37.099);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.505 0.214 260.643);
  --chart-1: oklch(0.505 0.214 260.643);
  --chart-2: oklch(0.57 0.228 10.119);
  --chart-3: oklch(0.787 0.245 138.377);
  --chart-4: oklch(0.6 0.24 10.299);
  --chart-5: oklch(0.506 0.219 260.772);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.008 252.195);
  --foreground: oklch(0.983 0.003 258.321);
  --muted: oklch(0.22 0.016 352.564);
  --muted-foreground: oklch(0.797 0.002 350.682);
  --popover: oklch(0.088 0.008 252.195);
  --popover-foreground: oklch(0.983 0.003 258.321);
  --card: oklch(0.111 0.01 252.195);
  --card-foreground: oklch(0.992 0.002 258.317);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.505 0.214 260.643);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.57 0.228 10.119);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.787 0.245 138.377);
  --accent-foreground: oklch(0.154 0.042 130.606);
  --destructive: oklch(0.637 0.213 37.006);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.505 0.214 260.643);
  --chart-1: oklch(0.505 0.214 260.643);
  --chart-2: oklch(0.57 0.228 10.119);
  --chart-3: oklch(0.787 0.245 138.377);
  --chart-4: oklch(0.6 0.24 10.299);
  --chart-5: oklch(0.506 0.219 260.772);
}