Omni Owl is a shadcn/ui theme built around a muted light indigo primary color (#e0e0e5) with muted deep indigo accents (#352f4b). The light mode uses an indigo-tinted background (#14121c). Dark mode keeps the muted light indigo primary (#e0e0e5) on an indigo-tinted background (#14121c).
| Token | Light | Dark |
|---|---|---|
| Background | #14121cblack | #14121cblack |
| Foreground | #e0e0e5gainsboro | #e0e0e5gainsboro |
| Card | #0f0e16black | #0f0e16black |
| Card foreground | #eeeef1whitesmoke | #eeeef1whitesmoke |
| Popover | #0d0c13black | #0d0c13black |
| Popover foreground | #fcfcfdwhite | #fcfcfdwhite |
| Primary | #e0e0e5gainsboro | #e0e0e5gainsboro |
| Primary foreground | #434351darkslategray | #434351darkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #23222bdarkslategray | #23222bdarkslategray |
| Muted foreground | #9f9bb0darkgray | #9f9bb0darkgray |
| Accent | #352f4bdarkslategray | #352f4bdarkslategray |
| Accent foreground | #d1cde0lightgrey | #d1cde0lightgrey |
| Destructive | #f1250eorangered | #f1250eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #211f28black | #211f28black |
| Input | #282631darkslategray | #282631darkslategray |
| Ring | #e0e0e5gainsboro | #e0e0e5gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.11:1 | AAA |
| Text on card | 16.57:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.84:1 | AA |
| Accent | 8.13:1 | AAA |
| Destructive | 4.19:1 | AA Large |
| Text on background | 14.11:1 | AAA |
| Text on card | 16.57:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.84:1 | AA |
| Accent | 8.13:1 | AAA |
| Destructive | 4.19:1 | AA Large |
Paste this into your globals.css to use Omni Owl in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.189 0.021 293.411);
--foreground: oklch(0.909 0.007 286.263);
--muted: oklch(0.257 0.017 294.321);
--muted-foreground: oklch(0.7 0.031 294.749);
--popover: oklch(0.159 0.015 293.801);
--popover-foreground: oklch(0.992 0.001 286.389);
--card: oklch(0.169 0.017 293.652);
--card-foreground: oklch(0.951 0.004 286.33);
--border: oklch(0.246 0.018 294.234);
--input: oklch(0.275 0.021 294.156);
--primary: oklch(0.909 0.007 286.263);
--primary-foreground: oklch(0.389 0.022 285.313);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.325 0.05 292.596);
--accent-foreground: oklch(0.856 0.026 295.017);
--destructive: oklch(0.613 0.236 30.439);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.909 0.007 286.263);
--chart-1: oklch(0.909 0.007 286.263);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.325 0.05 292.596);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.907 0.009 286.217);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.189 0.021 293.411);
--foreground: oklch(0.909 0.007 286.263);
--muted: oklch(0.257 0.017 294.321);
--muted-foreground: oklch(0.7 0.031 294.749);
--popover: oklch(0.159 0.015 293.801);
--popover-foreground: oklch(0.992 0.001 286.389);
--card: oklch(0.169 0.017 293.652);
--card-foreground: oklch(0.951 0.004 286.33);
--border: oklch(0.246 0.018 294.234);
--input: oklch(0.275 0.021 294.156);
--primary: oklch(0.909 0.007 286.263);
--primary-foreground: oklch(0.389 0.022 285.313);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.325 0.05 292.596);
--accent-foreground: oklch(0.856 0.026 295.017);
--destructive: oklch(0.613 0.236 30.439);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.909 0.007 286.263);
--chart-1: oklch(0.909 0.007 286.263);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.325 0.05 292.596);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.907 0.009 286.217);
}