Tanzanite Blue Koala is a shadcn/ui theme built around a deep blue primary color (#154a6a) with deep blue accents (#151f6a). The light mode uses a neutral background (#f3f3f3). Dark mode keeps the deep blue primary (#154a6a) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #f3f3f3whitesmoke | #010304black |
| Foreground | #030f17black | #fcfdfdwhite |
| Card | #fbfdfewhite | #010304black |
| Card foreground | #030f17black | #fcfdfdwhite |
| Popover | #fbfdfewhite | #010304black |
| Popover foreground | #030f17black | #fcfdfdwhite |
| Primary | #154a6adarkslategray | #154a6adarkslategray |
| Primary foreground | #bfdff2powderblue | #bfdff2powderblue |
| Secondary | #156a60darkslategray | #156a60darkslategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e3f2f0lavender | #0d1c1ablack |
| Muted foreground | #474d4cdarkslategray | #b2b8b7silver |
| Accent | #151f6amidnightblue | #151f6amidnightblue |
| Accent foreground | #bfc5f2lightsteelblue | #bfc5f2lightsteelblue |
| Destructive | #ca3012firebrick | #ed4c2ctomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #154a6adarkslategray | #154a6adarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.48:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 6.79:1 | AA |
| Secondary button | 6.39:1 | AA |
| Muted text | 7.49:1 | AAA |
| Accent | 8.68:1 | AAA |
| Destructive | 5.33:1 | AA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 6.79:1 | AA |
| Secondary button | 6.39:1 | AA |
| Muted text | 8.72:1 | AAA |
| Accent | 8.68:1 | AAA |
| Destructive | 3.71:1 | AA Large |
Paste this into your globals.css to use Tanzanite Blue Koala in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.965 0 180);
--foreground: oklch(0.16 0.026 233.866);
--muted: oklch(0.95 0.016 188.515);
--muted-foreground: oklch(0.414 0.008 188.462);
--popover: oklch(0.992 0.002 234.54);
--popover-foreground: oklch(0.16 0.026 233.866);
--card: oklch(0.992 0.002 234.54);
--card-foreground: oklch(0.16 0.026 233.866);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.391 0.077 240.685);
--primary-foreground: oklch(0.886 0.043 235.275);
--secondary: oklch(0.475 0.078 183.126);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.29 0.13 269.877);
--accent-foreground: oklch(0.834 0.064 279.024);
--destructive: oklch(0.55 0.194 32.704);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.391 0.077 240.685);
--chart-1: oklch(0.391 0.077 240.685);
--chart-2: oklch(0.475 0.078 183.126);
--chart-3: oklch(0.29 0.13 269.877);
--chart-4: oklch(0.515 0.085 183.03);
--chart-5: oklch(0.392 0.08 241.109);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.01 227.608);
--foreground: oklch(0.992 0.001 234.515);
--muted: oklch(0.211 0.021 186.354);
--muted-foreground: oklch(0.778 0.007 188.705);
--popover: oklch(0.092 0.01 227.608);
--popover-foreground: oklch(0.992 0.001 234.515);
--card: oklch(0.092 0.01 227.608);
--card-foreground: oklch(0.992 0.001 234.515);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.391 0.077 240.685);
--primary-foreground: oklch(0.886 0.043 235.275);
--secondary: oklch(0.475 0.078 183.126);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.29 0.13 269.877);
--accent-foreground: oklch(0.834 0.064 279.024);
--destructive: oklch(0.638 0.202 33.172);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.391 0.077 240.685);
--chart-1: oklch(0.391 0.077 240.685);
--chart-2: oklch(0.475 0.078 183.126);
--chart-3: oklch(0.29 0.13 269.877);
--chart-4: oklch(0.515 0.085 183.03);
--chart-5: oklch(0.392 0.08 241.109);
}