Notable Konjō Blue custom for shadcn/ui

Notable Konjō Blue custom is a shadcn/ui theme built around a vivid deep blue primary color (#092f72) with blue accents (#3148af). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the vivid deep blue primary (#051e48) on a blue-tinted background (#05070b).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#05070bblack
Foreground
#020812black
#ffffffwhite
Card
#f8f9fcghostwhite
#06090eblack
Card foreground
#02060eblack
#ffffffwhite
Popover
#f8f9fcghostwhite
#06090eblack
Popover foreground
#02060eblack
#ffffffwhite
Primary
#092f72midnightblue
#051e48midnightblue
Primary foreground
#ffffffwhite
#88b2f7lightskyblue
Secondary
#c9d3e3lightgrey
#111418black
Secondary foreground
#434546darkslategray
#9faabcdarkgray
Muted
#e4e9f1lavender
#090c11black
Muted foreground
#4a5059darkslategray
#a6acb5darkgray
Accent
#3148afdarkslateblue
#111418black
Accent foreground
#ffffffwhite
#9faabcdarkgray
Destructive
#b01c23firebrick
#f91d15red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e5e6gainsboro
#252627darkslategray
Input
#e5e5e6gainsboro
#252627darkslategray
Ring
#051e48midnightblue
#051e48midnightblue

Contrast

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

Light mode
Text on background19.59:1AAA
Text on card19.32:1AAA
Primary button12.64:1AAA
Secondary button6.38:1AA
Muted text6.66:1AA
Accent7.84:1AAA
Destructive6.91:1AA
Dark mode
Text on background20.17:1AAA
Text on card19.91:1AAA
Primary button7.56:1AAA
Secondary button7.89:1AAA
Muted text8.58:1AAA
Accent7.89:1AAA
Destructive4.02:1AA Large

CSS variables

Paste this into your globals.css to use Notable Konjō Blue custom in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 259.936);
  --foreground: oklch(0.133 0.027 251.188);
  --muted: oklch(0.933 0.012 259.818);
  --muted-foreground: oklch(0.429 0.017 259.933);
  --popover: oklch(0.983 0.003 259.938);
  --popover-foreground: oklch(0.12 0.023 248.632);
  --card: oklch(0.983 0.003 259.938);
  --card-foreground: oklch(0.12 0.023 248.632);
  --border: oklch(0.923 0.001 259.935);
  --input: oklch(0.923 0.001 259.935);
  --primary: oklch(0.326 0.123 261.013);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.864 0.025 259.818);
  --secondary-foreground: oklch(0.388 0.003 259.942);
  --accent: oklch(0.448 0.166 269.028);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.489 0.182 25.426);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.247 0.083 259.421);
  --chart-1: oklch(0.247 0.083 259.421);
  --chart-2: oklch(0.9 0.001 259.935);
  --chart-3: oklch(0.9 0.001 259.935);
  --chart-4: oklch(0.923 0.001 259.935);
  --chart-5: oklch(0.246 0.086 259.315);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.011 254.522);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.152 0.012 259.489);
  --muted-foreground: oklch(0.742 0.014 259.946);
  --popover: oklch(0.14 0.012 256.514);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.012 256.514);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.268 0.003 259.944);
  --input: oklch(0.268 0.003 259.944);
  --primary: oklch(0.247 0.083 259.421);
  --primary-foreground: oklch(0.761 0.109 259.663);
  --secondary: oklch(0.188 0.01 259.91);
  --secondary-foreground: oklch(0.735 0.029 259.933);
  --accent: oklch(0.188 0.01 259.91);
  --accent-foreground: oklch(0.735 0.029 259.933);
  --destructive: oklch(0.625 0.245 29.089);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.247 0.083 259.421);
  --chart-1: oklch(0.247 0.083 259.421);
  --chart-2: oklch(0.188 0.01 259.91);
  --chart-3: oklch(0.188 0.01 259.91);
  --chart-4: oklch(0.22 0.014 259.896);
  --chart-5: oklch(0.246 0.086 259.315);
}