Unknown Raven Black for shadcn/ui

Unknown Raven Black is a shadcn/ui theme built around a neutral gray primary color (#3d3d3d) with neutral gray accents (#3d3d3d). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#3d3d3d) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#040101black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#040101black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#040101black
#ffffffwhite
Primary
#3d3d3ddarkslategray
#3d3d3ddarkslategray
Primary foreground
#d6d6d6lightgrey
#d6d6d6lightgrey
Secondary
#3d3d3ddarkslategray
#3d3d3ddarkslategray
Secondary foreground
#d6d6d6lightgrey
#d6d6d6lightgrey
Muted
#efebeblinen
#141010black
Muted foreground
#715b5bdimgray
#a48e8erosybrown
Accent
#3d3d3ddarkslategray
#3d3d3ddarkslategray
Accent foreground
#d6d6d6lightgrey
#d6d6d6lightgrey
Destructive
#9d3110saddlebrown
#ea5e34tomato
Destructive foreground
#fce9e3mistyrose
#000000black
Border
#eceaealinen
#1d1b1bblack
Input
#eceaealinen
#1d1b1bblack
Ring
#3d3d3ddarkslategray
#3d3d3ddarkslategray

Contrast

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

Light mode
Text on background20.79:1AAA
Text on card20.79:1AAA
Primary button7.45:1AAA
Secondary button7.45:1AAA
Muted text5.31:1AA
Accent7.45:1AAA
Destructive6.20:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.45:1AAA
Secondary button7.45:1AAA
Muted text6.15:1AA
Accent7.45:1AAA
Destructive6.14:1AA

CSS variables

Paste this into your globals.css to use Unknown Raven Black in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.082 0.015 20.892);
  --muted: oklch(0.944 0.004 17.225);
  --muted-foreground: oklch(0.493 0.029 18.2);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.082 0.015 20.892);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.082 0.015 20.892);
  --border: oklch(0.937 0.002 17.197);
  --input: oklch(0.937 0.002 17.197);
  --primary: oklch(0.361 0 180);
  --primary-foreground: oklch(0.877 0 180);
  --secondary: oklch(0.361 0 180);
  --secondary-foreground: oklch(0.877 0 180);
  --accent: oklch(0.361 0 180);
  --accent-foreground: oklch(0.877 0 180);
  --destructive: oklch(0.471 0.149 36.173);
  --destructive-foreground: oklch(0.948 0.022 37.647);
  --ring: oklch(0.361 0 180);
  --chart-1: oklch(0.361 0 180);
  --chart-2: oklch(0.361 0 180);
  --chart-3: oklch(0.361 0 180);
  --chart-4: oklch(0.39 0 165.964);
  --chart-5: oklch(0.357 0.005 17.395);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.178 0.006 17.727);
  --muted-foreground: oklch(0.666 0.027 17.852);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.224 0.004 17.485);
  --input: oklch(0.224 0.004 17.485);
  --primary: oklch(0.361 0 180);
  --primary-foreground: oklch(0.877 0 180);
  --secondary: oklch(0.361 0 180);
  --secondary-foreground: oklch(0.877 0 180);
  --accent: oklch(0.361 0 180);
  --accent-foreground: oklch(0.877 0 180);
  --destructive: oklch(0.656 0.182 37.126);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.361 0 180);
  --chart-1: oklch(0.361 0 180);
  --chart-2: oklch(0.361 0 180);
  --chart-3: oklch(0.361 0 180);
  --chart-4: oklch(0.39 0 165.964);
  --chart-5: oklch(0.357 0.005 17.395);
}