Hideous for shadcn/ui

Hideous is a shadcn/ui theme built around a muted cyan primary color (#636e74) with muted blue accents (#636674). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted cyan primary (#636e74) on a cyan-tinted background (#03090c).

Color palette

TokenLightDark
Background
#fbfdfewhite
#03090cblack
Foreground
#04090bblack
#ffffffwhite
Card
#fbfdfewhite
#03090cblack
Card foreground
#04090bblack
#ffffffwhite
Popover
#fbfdfewhite
#03090cblack
Popover foreground
#04090bblack
#ffffffwhite
Primary
#636e74dimgray
#636e74dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#637471dimgray
#637471dimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d8eeealavender
#112723black
Muted foreground
#4d5150darkslategray
#aeb2b1darkgray
Accent
#636674dimgray
#636674dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#c62b10firebrick
#ec3818orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#636e74dimgray
#636e74dimgray

Contrast

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

Light mode
Text on background19.62:1AAA
Text on card19.62:1AAA
Primary button5.22:1AA
Secondary button4.94:1AA
Muted text6.65:1AA
Accent5.73:1AA
Destructive5.58:1AA
Dark mode
Text on background20.00:1AAA
Text on card20.00:1AAA
Primary button5.22:1AA
Secondary button4.94:1AA
Muted text7.30:1AAA
Accent5.73:1AA
Destructive4.07:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 226.89);
  --foreground: oklch(0.134 0.012 222.077);
  --muted: oklch(0.932 0.024 183.603);
  --muted-foreground: oklch(0.43 0.004 184.05);
  --popover: oklch(0.993 0.003 226.89);
  --popover-foreground: oklch(0.134 0.012 222.077);
  --card: oklch(0.993 0.003 226.89);
  --card-foreground: oklch(0.134 0.012 222.077);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.531 0.017 227.279);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.543 0.021 183.246);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.511 0.022 275.551);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.54 0.194 32.057);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.531 0.017 227.279);
  --chart-1: oklch(0.531 0.017 227.279);
  --chart-2: oklch(0.543 0.021 183.246);
  --chart-3: oklch(0.511 0.022 275.551);
  --chart-4: oklch(0.57 0.022 183.238);
  --chart-5: oklch(0.532 0.023 227.463);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.014 221.68);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.254 0.03 180.534);
  --muted-foreground: oklch(0.759 0.004 184.183);
  --popover: oklch(0.134 0.014 221.68);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.134 0.014 221.68);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.531 0.017 227.279);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.543 0.021 183.246);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.511 0.022 275.551);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.618 0.22 32.123);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.531 0.017 227.279);
  --chart-1: oklch(0.531 0.017 227.279);
  --chart-2: oklch(0.543 0.021 183.246);
  --chart-3: oklch(0.511 0.022 275.551);
  --chart-4: oklch(0.57 0.022 183.238);
  --chart-5: oklch(0.532 0.023 227.463);
}