Recent Konkikyō Blue for shadcn/ui

Recent Konkikyō Blue is a shadcn/ui theme built around a deep blue primary color (#131d44) with deep green accents (#1d4413). The light mode uses a neutral background (#f6f8fd). Dark mode keeps the deep blue primary (#131d44) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#f6f8fdghostwhite
#010204black
Foreground
#010204black
#ffffffwhite
Card
#f2f4fdaliceblue
#020308black
Card foreground
#000000black
#ffffffwhite
Popover
#f2f4fdaliceblue
#020308black
Popover foreground
#000000black
#ffffffwhite
Primary
#131d44midnightblue
#131d44midnightblue
Primary foreground
#a3b0e6lightsteelblue
#a3b0e6lightsteelblue
Secondary
#44131dmaroon
#44131dmaroon
Secondary foreground
#e6a3b0lightpink
#e6a3b0lightpink
Muted
#ecdfe1gainsboro
#201315black
Muted foreground
#574246darkslategray
#bda8acdarkgray
Accent
#1d4413darkgreen
#1d4413darkgreen
Accent foreground
#b0e6a3palegreen
#b0e6a3palegreen
Destructive
#9d2007firebrick
#e62e0aorangered
Destructive foreground
#fdded8mistyrose
#ffffffwhite
Border
#dfe0e2gainsboro
#1b1b1dblack
Input
#dfe0e2gainsboro
#1b1b1dblack
Ring
#131d44midnightblue
#131d44midnightblue

Contrast

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

Light mode
Text on background19.53:1AAA
Text on card19.16:1AAA
Primary button7.73:1AAA
Secondary button7.55:1AAA
Muted text7.12:1AAA
Accent7.78:1AAA
Destructive6.31:1AA
Dark mode
Text on background20.77:1AAA
Text on card20.55:1AAA
Primary button7.73:1AAA
Secondary button7.55:1AAA
Muted text8.03:1AAA
Accent7.78:1AAA
Destructive4.40:1AA Large

CSS variables

Paste this into your globals.css to use Recent Konkikyō Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.979 0.008 274.94);
  --foreground: oklch(0.081 0.013 268.209);
  --muted: oklch(0.914 0.015 3.639);
  --muted-foreground: oklch(0.403 0.03 5.171);
  --popover: oklch(0.969 0.011 274.89);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.969 0.011 274.89);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.906 0.003 274.998);
  --input: oklch(0.906 0.003 274.998);
  --primary: oklch(0.246 0.076 269.545);
  --primary-foreground: oklch(0.767 0.078 273.544);
  --secondary: oklch(0.27 0.076 11.821);
  --secondary-foreground: oklch(0.783 0.081 5.91);
  --accent: oklch(0.346 0.089 139.862);
  --accent-foreground: oklch(0.871 0.106 139.447);
  --destructive: oklch(0.453 0.164 32.495);
  --destructive-foreground: oklch(0.925 0.036 31.165);
  --ring: oklch(0.246 0.076 269.545);
  --chart-1: oklch(0.246 0.076 269.545);
  --chart-2: oklch(0.27 0.076 11.821);
  --chart-3: oklch(0.346 0.089 139.862);
  --chart-4: oklch(0.299 0.087 12.232);
  --chart-5: oklch(0.244 0.079 269.171);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.082 0.012 268.376);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.205 0.023 6.196);
  --muted-foreground: oklch(0.751 0.026 4.091);
  --popover: oklch(0.103 0.016 268.376);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.103 0.016 268.376);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.224 0.004 274.838);
  --input: oklch(0.224 0.004 274.838);
  --primary: oklch(0.246 0.076 269.545);
  --primary-foreground: oklch(0.767 0.078 273.544);
  --secondary: oklch(0.27 0.076 11.821);
  --secondary-foreground: oklch(0.783 0.081 5.91);
  --accent: oklch(0.346 0.089 139.862);
  --accent-foreground: oklch(0.871 0.106 139.447);
  --destructive: oklch(0.599 0.222 32.148);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.246 0.076 269.545);
  --chart-1: oklch(0.246 0.076 269.545);
  --chart-2: oklch(0.27 0.076 11.821);
  --chart-3: oklch(0.346 0.089 139.862);
  --chart-4: oklch(0.299 0.087 12.232);
  --chart-5: oklch(0.244 0.079 269.171);
}