Ariake Dark for shadcn/ui

Ariake Dark is a shadcn/ui theme built around a near-white primary color (#ffffff) with muted blue accents (#4b5162). The light mode uses a blue-tinted background (#2a2d37). Dark mode keeps the near-white primary (#ffffff) on a blue-tinted background (#2a2d37).

Color palette

TokenLightDark
Background
#2a2d37darkslategray
#2a2d37darkslategray
Foreground
#c0c5cesilver
#c0c5cesilver
Card
#262831darkslategray
#262831darkslategray
Card foreground
#ced2d9lightgrey
#ced2d9lightgrey
Popover
#23262edarkslategray
#23262edarkslategray
Popover foreground
#dcdfe4gainsboro
#dcdfe4gainsboro
Primary
#ffffffwhite
#ffffffwhite
Primary foreground
#333333darkslategray
#333333darkslategray
Secondary
#404040darkslategray
#404040darkslategray
Secondary foreground
#d9d9d9gainsboro
#d9d9d9gainsboro
Muted
#343742darkslategray
#343742darkslategray
Muted foreground
#b2b6c2silver
#b2b6c2silver
Accent
#4b5162darkslategray
#4b5162darkslategray
Accent foreground
#eeeff2whitesmoke
#eeeff2whitesmoke
Destructive
#fa120ared
#fa120ared
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#3b3c3fdarkslategray
#3b3c3fdarkslategray
Input
#434447darkslategray
#434447darkslategray
Ring
#ffffffwhite
#ffffffwhite

Contrast

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

Light mode
Text on background7.91:1AAA
Text on card9.65:1AAA
Primary button12.63:1AAA
Secondary button7.37:1AAA
Muted text5.86:1AA
Accent6.90:1AA
Destructive4.07:1AA Large
Dark mode
Text on background7.91:1AAA
Text on card9.65:1AAA
Primary button12.63:1AAA
Secondary button7.37:1AAA
Muted text5.86:1AA
Accent6.90:1AA
Destructive4.07:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.299 0.018 271.939);
  --foreground: oklch(0.822 0.013 263.019);
  --muted: oklch(0.338 0.019 271.973);
  --muted-foreground: oklch(0.776 0.018 272.398);
  --popover: oklch(0.269 0.016 271.974);
  --popover-foreground: oklch(0.904 0.008 263.038);
  --card: oklch(0.279 0.016 271.961);
  --card-foreground: oklch(0.863 0.011 263.028);
  --border: oklch(0.357 0.005 272.51);
  --input: oklch(0.386 0.005 272.507);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.436 0.029 271.843);
  --accent-foreground: oklch(0.951 0.004 272.611);
  --destructive: oklch(0.622 0.25 29.294);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.436 0.029 271.843);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(1 0 180);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.299 0.018 271.939);
  --foreground: oklch(0.822 0.013 263.019);
  --muted: oklch(0.338 0.019 271.973);
  --muted-foreground: oklch(0.776 0.018 272.398);
  --popover: oklch(0.269 0.016 271.974);
  --popover-foreground: oklch(0.904 0.008 263.038);
  --card: oklch(0.279 0.016 271.961);
  --card-foreground: oklch(0.863 0.011 263.028);
  --border: oklch(0.357 0.005 272.51);
  --input: oklch(0.386 0.005 272.507);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.436 0.029 271.843);
  --accent-foreground: oklch(0.951 0.004 272.611);
  --destructive: oklch(0.622 0.25 29.294);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.436 0.029 271.843);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(1 0 180);
}