111 is a shadcn/ui theme built around a light indigo primary color (#afb2e9) with muted indigo accents (#b1b3cd). The light mode uses a neutral background (#ffffff). Dark mode keeps the light indigo primary (#afb2e9) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #010104black | #f9f9fbghostwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #afb2e9lightsteelblue | #afb2e9lightsteelblue |
| Primary foreground | #161950midnightblue | #161950midnightblue |
| Secondary | #d0d1dclightgrey | #1b1b23black |
| Secondary foreground | #343546darkslategray | #aeafc1silver |
| Muted | #dedfedlavender | #121321black |
| Muted foreground | #40404fdarkslategray | #b0b1bfsilver |
| Accent | #b1b3cdsilver | #2a2b41darkslategray |
| Accent foreground | #1e1f2fdarkslategray | #c4c5d9lightsteelblue |
| Destructive | #c70e0afirebrick | #f42825crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e8e8edlavender | #21212cdarkslategray |
| Input | #e8e8edlavender | #21212cdarkslategray |
| Ring | #afb2e9lightsteelblue | #afb2e9lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.84:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 7.70:1 | AAA |
| Accent | 7.87:1 | AAA |
| Destructive | 6.02:1 | AA |
| Text on background | 19.97:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 8.66:1 | AAA |
| Accent | 8.07:1 | AAA |
| Destructive | 4.06:1 | AA Large |
Paste this into your globals.css to use 111 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.076 0.016 278.227);
--muted: oklch(0.907 0.018 283.614);
--muted-foreground: oklch(0.378 0.025 282.736);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.932 0.007 283.835);
--input: oklch(0.932 0.007 283.835);
--primary: oklch(0.78 0.079 282.063);
--primary-foreground: oklch(0.251 0.099 274.377);
--secondary: oklch(0.863 0.016 283.646);
--secondary-foreground: oklch(0.335 0.031 282.254);
--accent: oklch(0.773 0.038 283.087);
--accent-foreground: oklch(0.245 0.03 281.569);
--destructive: oklch(0.524 0.21 28.979);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.78 0.079 282.063);
--chart-1: oklch(0.78 0.079 282.063);
--chart-2: oklch(0.863 0.016 283.646);
--chart-3: oklch(0.773 0.038 283.087);
--chart-4: oklch(0.889 0.013 283.718);
--chart-5: oklch(0.777 0.083 281.941);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.002 283.931);
--muted: oklch(0.194 0.027 281.197);
--muted-foreground: oklch(0.763 0.021 283.479);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.991 0.001 283.951);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.001 283.951);
--border: oklch(0.254 0.019 282.573);
--input: oklch(0.254 0.019 282.573);
--primary: oklch(0.78 0.079 282.063);
--primary-foreground: oklch(0.251 0.099 274.377);
--secondary: oklch(0.225 0.015 282.779);
--secondary-foreground: oklch(0.76 0.025 283.383);
--accent: oklch(0.3 0.039 281.468);
--accent-foreground: oklch(0.83 0.027 283.395);
--destructive: oklch(0.621 0.234 28.094);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.78 0.079 282.063);
--chart-1: oklch(0.78 0.079 282.063);
--chart-2: oklch(0.225 0.015 282.779);
--chart-3: oklch(0.3 0.039 281.468);
--chart-4: oklch(0.255 0.018 282.687);
--chart-5: oklch(0.777 0.083 281.941);
}