Keys Reim - Final. for shadcn/ui

Keys Reim - Final. is a shadcn/ui theme built around a muted deep blue primary color (#303751) with blue accents (#6f8dc2). The light mode uses a neutral background (#f8f8fc). Dark mode switches to a deep red primary (#652525) on a neutral background (#080202).

Color palette

TokenLightDark
Background
#f8f8fcghostwhite
#080202black
Foreground
#040101black
#ffffffwhite
Card
#ffffffwhite
#080202black
Card foreground
#040101black
#ffffffwhite
Popover
#ffffffwhite
#080202black
Popover foreground
#040101black
#ffffffwhite
Primary
#303751darkslategray
#652525saddlebrown
Primary foreground
#ffffffwhite
#edcfcfpink
Secondary
#91cdb5darkseagreen
#256525forestgreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ced4dalightgrey
#0b130bblack
Muted foreground
#5e685edimgray
#97a197darkgray
Accent
#6f8dc2cadetblue
#252565midnightblue
Accent foreground
#ffffffwhite
#cfcfedgainsboro
Destructive
#c00000firebrick
#f43210orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e9eaeclavender
#1f1e1eblack
Input
#e9eaeclavender
#1f1e1eblack
Ring
#303751darkslategray
#652525saddlebrown

Contrast

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

Light mode
Text on background19.62:1AAA
Text on card20.79:1AAA
Primary button11.72:1AAA
Secondary button1.80:1Fail
Muted text3.88:1AA Large
Accent3.35:1AA Large
Destructive6.47:1AA
Dark mode
Text on background20.57:1AAA
Text on card20.57:1AAA
Primary button7.83:1AAA
Secondary button7.12:1AAA
Muted text7.05:1AAA
Accent9.00:1AAA
Destructive3.95:1AA Large

CSS variables

Paste this into your globals.css to use Keys Reim - Final. in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.005 289.785);
  --foreground: oklch(0.083 0.012 20.039);
  --muted: oklch(0.867 0.011 247.949);
  --muted-foreground: oklch(0.507 0.02 145.277);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.083 0.012 20.039);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.083 0.012 20.039);
  --border: oklch(0.937 0.003 264.542);
  --input: oklch(0.937 0.003 264.542);
  --primary: oklch(0.342 0.047 272.175);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.8 0.071 167.779);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.642 0.087 261.459);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.507 0.208 29.234);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.342 0.047 272.175);
  --chart-1: oklch(0.342 0.047 272.175);
  --chart-2: oklch(0.8 0.071 167.779);
  --chart-3: oklch(0.642 0.087 261.459);
  --chart-4: oklch(0.819 0.064 168.149);
  --chart-5: oklch(0.339 0.052 271.862);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.103 0.019 20.892);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.177 0.02 144.663);
  --muted-foreground: oklch(0.696 0.018 145.376);
  --popover: oklch(0.103 0.019 20.892);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.103 0.019 20.892);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.236 0.002 17.289);
  --input: oklch(0.236 0.002 17.289);
  --primary: oklch(0.359 0.092 22.891);
  --primary-foreground: oklch(0.879 0.034 17.823);
  --secondary: oklch(0.449 0.116 143.34);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.307 0.109 277.867);
  --accent-foreground: oklch(0.863 0.042 285.486);
  --destructive: oklch(0.627 0.231 31.856);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.359 0.092 22.891);
  --chart-1: oklch(0.359 0.092 22.891);
  --chart-2: oklch(0.449 0.116 143.34);
  --chart-3: oklch(0.307 0.109 277.867);
  --chart-4: oklch(0.483 0.126 143.314);
  --chart-5: oklch(0.359 0.098 23.375);
}