Murky for shadcn/ui

Murky is a shadcn/ui theme built around a vivid cyan primary color (#07709d) with vivid orange accents (#9d3407). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the vivid cyan primary (#07709d) on a neutral background (#030608).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#030608black
Foreground
#010304black
#f8fbfcghostwhite
Card
#f3f9fcaliceblue
#04090bblack
Card foreground
#000000black
#fcfdfdwhite
Popover
#f7fbfdghostwhite
#030608black
Popover foreground
#010304black
#f8fbfcghostwhite
Primary
#07709ddarkcyan
#07709ddarkcyan
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#9d3407saddlebrown
#9d3407saddlebrown
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e7d7d0gainsboro
#2f1f18black
Muted foreground
#585655dimgray
#aaa8a7darkgray
Accent
#9d3407saddlebrown
#9d3407saddlebrown
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#cb2310firebrick
#ed3621orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#07709ddarkcyan
#07709ddarkcyan

Contrast

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

Light mode
Text on background19.85:1AAA
Text on card19.77:1AAA
Primary button5.53:1AA
Secondary button7.20:1AAA
Muted text5.20:1AA
Accent7.20:1AAA
Destructive5.54:1AA
Dark mode
Text on background19.54:1AAA
Text on card19.63:1AAA
Primary button5.53:1AA
Secondary button7.20:1AAA
Muted text6.65:1AA
Accent7.20:1AAA
Destructive4.08:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.005 225.036);
  --foreground: oklch(0.094 0.011 218.48);
  --muted: oklch(0.889 0.021 44.757);
  --muted-foreground: oklch(0.455 0.004 44.901);
  --popover: oklch(0.986 0.005 225.036);
  --popover-foreground: oklch(0.094 0.011 218.48);
  --card: oklch(0.979 0.007 225.064);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.514 0.109 235.795);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.473 0.148 38.866);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.473 0.148 38.866);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.542 0.204 30.513);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.514 0.109 235.795);
  --chart-1: oklch(0.514 0.109 235.795);
  --chart-2: oklch(0.473 0.148 38.866);
  --chart-3: oklch(0.473 0.148 38.866);
  --chart-4: oklch(0.505 0.159 38.668);
  --chart-5: oklch(0.518 0.111 236.269);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.117 0.01 220.097);
  --foreground: oklch(0.985 0.003 225.014);
  --muted: oklch(0.258 0.029 44.129);
  --muted-foreground: oklch(0.732 0.003 44.937);
  --popover: oklch(0.117 0.01 220.097);
  --popover-foreground: oklch(0.985 0.003 225.014);
  --card: oklch(0.134 0.012 220.524);
  --card-foreground: oklch(0.993 0.001 224.998);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.514 0.109 235.795);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.473 0.148 38.866);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.473 0.148 38.866);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.618 0.221 30.469);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.514 0.109 235.795);
  --chart-1: oklch(0.514 0.109 235.795);
  --chart-2: oklch(0.473 0.148 38.866);
  --chart-3: oklch(0.473 0.148 38.866);
  --chart-4: oklch(0.505 0.159 38.668);
  --chart-5: oklch(0.518 0.111 236.269);
}