Crucial Nordic Noir is a shadcn/ui theme built around a deep cyan primary color (#103341) with deep blue accents (#101a41). The light mode uses a neutral background (#f6fbfd). Dark mode keeps the deep cyan primary (#103341) on a cyan-tinted background (#05090a).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fbfdghostwhite | #05090ablack |
| Foreground | #041015black | #ffffffwhite |
| Card | #f2f9fdaliceblue | #070b0dblack |
| Card foreground | #040d11black | #ffffffwhite |
| Popover | #f2f9fdaliceblue | #070b0dblack |
| Popover foreground | #040d11black | #ffffffwhite |
| Primary | #103341darkslategray | #103341darkslategray |
| Primary foreground | #9dd0e7lightblue | #9dd0e7lightblue |
| Secondary | #104137darkslategray | #104137darkslategray |
| Secondary foreground | #4bd2b7mediumturquoise | #4bd2b7mediumturquoise |
| Muted | #dce5e3gainsboro | #1a2322black |
| Muted foreground | #424d4bdarkslategray | #b2bdbbsilver |
| Accent | #101a41midnightblue | #101a41midnightblue |
| Accent foreground | #9dace7lightsteelblue | #9dace7lightsteelblue |
| Destructive | #ba1d08firebrick | #dc2209firebrick |
| Destructive foreground | #fff6f5lavenderblush | #ffffffwhite |
| Border | #dee1e3gainsboro | #232729darkslategray |
| Input | #dee1e3gainsboro | #232729darkslategray |
| Ring | #103341darkslategray | #103341darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.52:1 | AAA |
| Text on card | 18.48:1 | AAA |
| Primary button | 8.05:1 | AAA |
| Secondary button | 6.08:1 | AA |
| Muted text | 6.84:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 6.05:1 | AA |
| Text on background | 20.02:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 8.05:1 | AAA |
| Secondary button | 6.08:1 | AA |
| Muted text | 8.29:1 | AAA |
| Accent | 7.60:1 | AAA |
| Destructive | 4.90:1 | AA |
Paste this into your globals.css to use Crucial Nordic Noir in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.006 225.05);
--foreground: oklch(0.164 0.021 225.413);
--muted: oklch(0.915 0.011 182.86);
--muted-foreground: oklch(0.41 0.015 182.146);
--popover: oklch(0.979 0.009 225.085);
--popover-foreground: oklch(0.15 0.018 223.287);
--card: oklch(0.979 0.009 225.085);
--card-foreground: oklch(0.15 0.018 223.287);
--border: oklch(0.909 0.004 225.034);
--input: oklch(0.909 0.004 225.034);
--primary: oklch(0.302 0.047 229.536);
--primary-foreground: oklch(0.831 0.062 226.182);
--secondary: oklch(0.341 0.054 176.832);
--secondary-foreground: oklch(0.784 0.123 177.06);
--accent: oklch(0.236 0.075 269.284);
--accent-foreground: oklch(0.754 0.086 273.331);
--destructive: oklch(0.507 0.193 30.851);
--destructive-foreground: oklch(0.98 0.009 26.502);
--ring: oklch(0.302 0.047 229.536);
--chart-1: oklch(0.302 0.047 229.536);
--chart-2: oklch(0.341 0.054 176.832);
--chart-3: oklch(0.236 0.075 269.284);
--chart-4: oklch(0.382 0.062 176.584);
--chart-5: oklch(0.303 0.049 229.893);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.008 221.681);
--foreground: oklch(1 0 180);
--muted: oklch(0.248 0.014 181.505);
--muted-foreground: oklch(0.79 0.013 182.729);
--popover: oklch(0.148 0.009 224.263);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.148 0.009 224.263);
--card-foreground: oklch(1 0 180);
--border: oklch(0.271 0.007 225.302);
--input: oklch(0.271 0.007 225.302);
--primary: oklch(0.302 0.047 229.536);
--primary-foreground: oklch(0.831 0.062 226.182);
--secondary: oklch(0.341 0.054 176.832);
--secondary-foreground: oklch(0.784 0.123 177.06);
--accent: oklch(0.236 0.075 269.284);
--accent-foreground: oklch(0.754 0.086 273.331);
--destructive: oklch(0.574 0.22 30.774);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.302 0.047 229.536);
--chart-1: oklch(0.302 0.047 229.536);
--chart-2: oklch(0.341 0.054 176.832);
--chart-3: oklch(0.236 0.075 269.284);
--chart-4: oklch(0.382 0.062 176.584);
--chart-5: oklch(0.303 0.049 229.893);
}