Arc Dark is a shadcn/ui theme built around a near-white primary color (#ffffff) with muted blue accents (#585e74). The light mode uses a blue-tinted background (#373b49). Dark mode keeps the near-white primary (#ffffff) on a blue-tinted background (#373b49).
| Token | Light | Dark |
|---|---|---|
| Background | #373b49darkslategray | #373b49darkslategray |
| Foreground | #d3d6degainsboro | #d3d6degainsboro |
| Card | #323643darkslategray | #323643darkslategray |
| Card foreground | #e2e3e9gainsboro | #e2e3e9gainsboro |
| Popover | #303440darkslategray | #303440darkslategray |
| Popover foreground | #f0f1f4whitesmoke | #f0f1f4whitesmoke |
| Primary | #ffffffwhite | #ffffffwhite |
| Primary foreground | #333333darkslategray | #333333darkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #414553darkslategray | #414553darkslategray |
| Muted foreground | #c3c6d0silver | #c3c6d0silver |
| Accent | #585e74dimgray | #585e74dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ed201dcrimson | #ed201dcrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #494b50darkslategray | #494b50darkslategray |
| Input | #515258darkslategray | #515258darkslategray |
| Ring | #ffffffwhite | #ffffffwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.69:1 | AAA |
| Text on card | 9.39:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.59:1 | AA |
| Accent | 6.43:1 | AA |
| Destructive | 4.36:1 | AA Large |
| Text on background | 7.69:1 | AAA |
| Text on card | 9.39:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.59:1 | AA |
| Accent | 6.43:1 | AA |
| Destructive | 4.36:1 | AA Large |
Paste this into your globals.css to use Arc Dark in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.353 0.025 272.944);
--foreground: oklch(0.876 0.012 273.71);
--muted: oklch(0.392 0.024 273.076);
--muted-foreground: oklch(0.827 0.014 273.663);
--popover: oklch(0.325 0.022 272.971);
--popover-foreground: oklch(0.959 0.004 273.82);
--card: oklch(0.335 0.023 272.961);
--card-foreground: oklch(0.918 0.008 273.769);
--border: oklch(0.412 0.008 273.634);
--input: oklch(0.44 0.009 273.631);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.485 0.037 272.863);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.604 0.233 28.459);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.485 0.037 272.863);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(1 0 180);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.353 0.025 272.944);
--foreground: oklch(0.876 0.012 273.71);
--muted: oklch(0.392 0.024 273.076);
--muted-foreground: oklch(0.827 0.014 273.663);
--popover: oklch(0.325 0.022 272.971);
--popover-foreground: oklch(0.959 0.004 273.82);
--card: oklch(0.335 0.023 272.961);
--card-foreground: oklch(0.918 0.008 273.769);
--border: oklch(0.412 0.008 273.634);
--input: oklch(0.44 0.009 273.631);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.485 0.037 272.863);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.604 0.233 28.459);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.485 0.037 272.863);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(1 0 180);
}