Uncomfortable Kyanite for shadcn/ui

Uncomfortable Kyanite is a shadcn/ui theme built around a vivid blue primary color (#0062ff) with vivid blue accents (#0062ff). The light mode uses a neutral background (#f9fafa). Dark mode keeps the vivid blue primary (#0062ff) on a neutral background (#121214).

Color palette

TokenLightDark
Background
#f9fafaghostwhite
#121214black
Foreground
#17181cblack
#ffffffwhite
Card
#ffffffwhite
#19191dblack
Card foreground
#17181cblack
#ffffffwhite
Popover
#ffffffwhite
#1a1a1eblack
Popover foreground
#030712black
#d2d4dflightgrey
Primary
#0062ffdodgerblue
#0062ffdodgerblue
Primary foreground
#f9fafbghostwhite
#ffffffwhite
Secondary
#f3f4f6whitesmoke
#0c0c0eblack
Secondary foreground
#111827black
#ffffffwhite
Muted
#f3f4f6whitesmoke
#212226black
Muted foreground
#5c5e70dimgray
#808080grey
Accent
#0062ffdodgerblue
#0062ffdodgerblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#ef4444tomato
#a71717firebrick
Destructive foreground
#e64d4dindianred
#ffffffwhite
Border
#eeeff1whitesmoke
#212227black
Input
#eeeff1whitesmoke
#212227black
Ring
#eeeff1whitesmoke
#0062ffdodgerblue

Contrast

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

Light mode
Text on background16.93:1AAA
Text on card17.73:1AAA
Primary button4.80:1AA
Secondary button16.12:1AAA
Muted text5.80:1AA
Accent5.02:1AA
Destructive1.00:1Fail
Dark mode
Text on background18.71:1AAA
Text on card17.52:1AAA
Primary button5.02:1AA
Secondary button19.55:1AAA
Muted text4.02:1AA Large
Accent5.01:1AA
Destructive7.58:1AAA

CSS variables

Paste this into your globals.css to use Uncomfortable Kyanite in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.001 278.301);
  --foreground: oklch(0.208 0.009 279.627);
  --muted: oklch(0.967 0.003 264.542);
  --muted-foreground: oklch(0.487 0.029 279.334);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.129 0.027 261.671);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.208 0.009 279.627);
  --border: oklch(0.951 0.004 278.265);
  --input: oklch(0.951 0.004 278.265);
  --primary: oklch(0.556 0.246 261.356);
  --primary-foreground: oklch(0.984 0.002 247.84);
  --secondary: oklch(0.967 0.003 264.542);
  --secondary-foreground: oklch(0.21 0.032 264.652);
  --accent: oklch(0.556 0.246 261.356);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.637 0.208 25.326);
  --destructive-foreground: oklch(0.631 0.19 24.357);
  --ring: oklch(0.951 0.004 278.265);
  --chart-1: oklch(0.677 0.157 35.19);
  --chart-2: oklch(0.631 0.101 183.491);
  --chart-3: oklch(0.379 0.044 225.539);
  --chart-4: oklch(0.834 0.119 88.146);
  --chart-5: oklch(0.783 0.126 58.749);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.183 0.004 285.994);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.253 0.008 274.644);
  --muted-foreground: oklch(0.598 0 185.711);
  --popover: oklch(0.22 0.008 279.76);
  --popover-foreground: oklch(0.872 0.015 278.059);
  --card: oklch(0.215 0.008 285.727);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.251 0.01 279.711);
  --input: oklch(0.251 0.01 279.711);
  --primary: oklch(0.556 0.246 261.356);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.155 0.004 279.933);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.556 0.245 261.325);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.467 0.177 27.654);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.556 0.245 261.325);
  --chart-1: oklch(0.529 0.193 262.129);
  --chart-2: oklch(0.698 0.134 165.463);
  --chart-3: oklch(0.723 0.15 60.631);
  --chart-4: oklch(0.619 0.204 312.728);
  --chart-5: oklch(0.612 0.209 6.386);
}