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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.93:1 | AAA |
| Text on card | 17.73:1 | AAA |
| Primary button | 4.80:1 | AA |
| Secondary button | 16.12:1 | AAA |
| Muted text | 5.80:1 | AA |
| Accent | 5.02:1 | AA |
| Destructive | 1.00:1 | Fail |
| Text on background | 18.71:1 | AAA |
| Text on card | 17.52:1 | AAA |
| Primary button | 5.02:1 | AA |
| Secondary button | 19.55:1 | AAA |
| Muted text | 4.02:1 | AA Large |
| Accent | 5.01:1 | AA |
| Destructive | 7.58:1 | AAA |
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);
}