Kakonia Omeno for shadcn/ui

Kakonia Omeno is a shadcn/ui theme built around a blue primary color (#6985ba) with green accents (#85ba69). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the blue primary (#6985ba) on a blue-tinted background (#03060c).

Color palette

TokenLightDark
Background
#f7f9fdghostwhite
#03060cblack
Foreground
#000000black
#f5f7f9whitesmoke
Card
#f7f9fdghostwhite
#03060cblack
Card foreground
#000000black
#f5f7f9whitesmoke
Popover
#f7f9fdghostwhite
#03060cblack
Popover foreground
#000000black
#f5f7f9whitesmoke
Primary
#6985basteelblue
#6985basteelblue
Primary foreground
#000000black
#000000black
Secondary
#ba6985palevioletred
#ba6985palevioletred
Secondary foreground
#000000black
#000000black
Muted
#e5e1e2gainsboro
#1e1a1bblack
Muted foreground
#53464bdarkslategray
#b9acb1darkgray
Accent
#85ba69darkseagreen
#85ba69darkseagreen
Accent foreground
#000000black
#000000black
Destructive
#d10905red
#f9231fcrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e9eaeclavender
#242629darkslategray
Input
#e9eaeclavender
#242629darkslategray
Ring
#6985basteelblue
#6985basteelblue

Contrast

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

Light mode
Text on background19.91:1AAA
Text on card19.91:1AAA
Primary button5.67:1AA
Secondary button5.43:1AA
Muted text6.90:1AA
Accent9.22:1AAA
Destructive5.60:1AA
Dark mode
Text on background18.86:1AAA
Text on card18.86:1AAA
Primary button5.67:1AA
Secondary button5.43:1AA
Muted text7.86:1AAA
Accent9.22:1AAA
Destructive3.96:1AA Large

CSS variables

Paste this into your globals.css to use Kakonia Omeno in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 263.043);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.913 0.005 353.72);
  --muted-foreground: oklch(0.41 0.018 354.798);
  --popover: oklch(0.982 0.006 263.043);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.006 263.043);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.938 0.002 263.049);
  --input: oklch(0.938 0.002 263.049);
  --primary: oklch(0.617 0.087 262.337);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.619 0.108 358.372);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.732 0.124 135.406);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.542 0.219 29.189);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.617 0.087 262.337);
  --chart-1: oklch(0.617 0.087 262.337);
  --chart-2: oklch(0.619 0.108 358.372);
  --chart-3: oklch(0.732 0.124 135.406);
  --chart-4: oklch(0.645 0.1 357.8);
  --chart-5: oklch(0.614 0.094 262.254);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.017 254.913);
  --foreground: oklch(0.975 0.004 263.047);
  --muted: oklch(0.223 0.007 354.416);
  --muted-foreground: oklch(0.757 0.015 354.146);
  --popover: oklch(0.122 0.017 254.913);
  --popover-foreground: oklch(0.975 0.004 263.047);
  --card: oklch(0.122 0.017 254.913);
  --card-foreground: oklch(0.975 0.004 263.047);
  --border: oklch(0.266 0.006 263);
  --input: oklch(0.266 0.006 263);
  --primary: oklch(0.617 0.087 262.337);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.619 0.108 358.372);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.732 0.124 135.406);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.628 0.242 28.435);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.617 0.087 262.337);
  --chart-1: oklch(0.617 0.087 262.337);
  --chart-2: oklch(0.619 0.108 358.372);
  --chart-3: oklch(0.732 0.124 135.406);
  --chart-4: oklch(0.645 0.1 357.8);
  --chart-5: oklch(0.614 0.094 262.254);
}