Noctis Uva is a shadcn/ui theme built around a muted indigo primary color (#6d67a8) with muted indigo accents (#484370). The light mode uses an indigo-tinted background (#292640). Dark mode keeps the muted indigo primary (#6d67a8) on an indigo-tinted background (#292640).
| Token | Light | Dark |
|---|---|---|
| Background | #292640darkslategray | #292640darkslategray |
| Foreground | #c5c2d6thistle | #c5c2d6thistle |
| Card | #252239darkslategray | #252239darkslategray |
| Card foreground | #d3d1e0lightgrey | #d3d1e0lightgrey |
| Popover | #232136darkslategray | #232136darkslategray |
| Popover foreground | #e2e0ebgainsboro | #e2e0ebgainsboro |
| Primary | #6d67a8slategray | #6d67a8slategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #b7b4casilver | #b7b4casilver |
| Secondary foreground | #21202ddarkslategray | #21202ddarkslategray |
| Muted | #383645darkslategray | #383645darkslategray |
| Muted foreground | #b7b5c5silver | #b7b5c5silver |
| Accent | #484370darkslateblue | #484370darkslateblue |
| Accent foreground | #f0eff5whitesmoke | #f0eff5whitesmoke |
| Destructive | #e6351aorangered | #e6351aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #383649darkslategray | #383649darkslategray |
| Input | #3f3d52darkslategray | #3f3d52darkslategray |
| Ring | #6d67a8slategray | #6d67a8slategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.32:1 | AAA |
| Text on card | 10.17:1 | AAA |
| Primary button | 5.06:1 | AA |
| Secondary button | 7.95:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 7.95:1 | AAA |
| Destructive | 4.31:1 | AA Large |
| Text on background | 8.32:1 | AAA |
| Text on card | 10.17:1 | AAA |
| Primary button | 5.06:1 | AA |
| Secondary button | 7.95:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 7.95:1 | AAA |
| Destructive | 4.31:1 | AA Large |
Paste this into your globals.css to use Noctis Uva in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.285 0.046 288.455);
--foreground: oklch(0.822 0.028 292.65);
--muted: oklch(0.34 0.026 290.316);
--muted-foreground: oklch(0.779 0.022 291.231);
--popover: oklch(0.259 0.04 288.606);
--popover-foreground: oklch(0.912 0.014 293.02);
--card: oklch(0.268 0.042 288.551);
--card-foreground: oklch(0.867 0.021 292.848);
--border: oklch(0.344 0.033 289.877);
--input: oklch(0.37 0.037 289.834);
--primary: oklch(0.547 0.099 287.21);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.78 0.031 290.263);
--secondary-foreground: oklch(0.25 0.024 289.078);
--accent: oklch(0.408 0.074 288.022);
--accent-foreground: oklch(0.955 0.009 291.611);
--destructive: oklch(0.603 0.216 31.587);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.547 0.099 287.21);
--chart-1: oklch(0.547 0.099 287.21);
--chart-2: oklch(0.78 0.031 290.263);
--chart-3: oklch(0.408 0.074 288.022);
--chart-4: oklch(0.807 0.027 290.383);
--chart-5: oklch(0.539 0.11 286.653);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.285 0.046 288.455);
--foreground: oklch(0.822 0.028 292.65);
--muted: oklch(0.34 0.026 290.316);
--muted-foreground: oklch(0.779 0.022 291.231);
--popover: oklch(0.259 0.04 288.606);
--popover-foreground: oklch(0.912 0.014 293.02);
--card: oklch(0.268 0.042 288.551);
--card-foreground: oklch(0.867 0.021 292.848);
--border: oklch(0.344 0.033 289.877);
--input: oklch(0.37 0.037 289.834);
--primary: oklch(0.547 0.099 287.21);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.78 0.031 290.263);
--secondary-foreground: oklch(0.25 0.024 289.078);
--accent: oklch(0.408 0.074 288.022);
--accent-foreground: oklch(0.955 0.009 291.611);
--destructive: oklch(0.603 0.216 31.587);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.547 0.099 287.21);
--chart-1: oklch(0.547 0.099 287.21);
--chart-2: oklch(0.78 0.031 290.263);
--chart-3: oklch(0.408 0.074 288.022);
--chart-4: oklch(0.807 0.027 290.383);
--chart-5: oklch(0.539 0.11 286.653);
}