βui - Oceanic Next is a shadcn/ui theme built around a muted light blue primary color (#ced4de) with blue accents (#345565). The light mode uses a blue-tinted background (#1a2a32). Dark mode keeps the muted light blue primary (#ced4de) on a blue-tinted background (#1a2a32).
| Token | Light | Dark |
|---|---|---|
| Background | #1a2a32darkslategray | #1a2a32darkslategray |
| Foreground | #ced4delightgrey | #ced4delightgrey |
| Card | #17252cdarkslategray | #17252cdarkslategray |
| Card foreground | #dde2e9gainsboro | #dde2e9gainsboro |
| Popover | #152228black | #152228black |
| Popover foreground | #edeff3whitesmoke | #edeff3whitesmoke |
| Primary | #ced4delightgrey | #ced4delightgrey |
| Primary foreground | #313a49darkslategray | #313a49darkslategray |
| Secondary | #393e46darkslategray | #393e46darkslategray |
| Secondary foreground | #d5d8ddgainsboro | #d5d8ddgainsboro |
| Muted | #2b3236darkslategray | #2b3236darkslategray |
| Muted foreground | #a6b3b9darkgray | #a6b3b9darkgray |
| Accent | #345565darkslategray | #345565darkslategray |
| Accent foreground | #dde8eelavender | #dde8eelavender |
| Destructive | #f1190ered | #f1190ered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #28373edarkslategray | #28373edarkslategray |
| Input | #2e3f48darkslategray | #2e3f48darkslategray |
| Ring | #ced4delightgrey | #ced4delightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.88:1 | AAA |
| Text on card | 12.10:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 6.03:1 | AA |
| Accent | 6.42:1 | AA |
| Destructive | 4.29:1 | AA Large |
| Text on background | 9.88:1 | AAA |
| Text on card | 12.10:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 6.03:1 | AA |
| Accent | 6.42:1 | AA |
| Destructive | 4.29:1 | AA Large |
Paste this into your globals.css to use βui - Oceanic Next in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.276 0.026 230.613);
--foreground: oklch(0.868 0.016 261.5);
--muted: oklch(0.313 0.013 229.353);
--muted-foreground: oklch(0.759 0.017 229.055);
--popover: oklch(0.242 0.022 230.459);
--popover-foreground: oklch(0.951 0.006 259.94);
--card: oklch(0.254 0.024 230.515);
--card-foreground: oklch(0.91 0.01 259.944);
--border: oklch(0.326 0.024 230.005);
--input: oklch(0.356 0.027 230.051);
--primary: oklch(0.868 0.016 263.013);
--primary-foreground: oklch(0.346 0.03 262.685);
--secondary: oklch(0.362 0.016 262.923);
--secondary-foreground: oklch(0.88 0.007 263.038);
--accent: oklch(0.43 0.047 231.015);
--accent-foreground: oklch(0.925 0.014 228.951);
--destructive: oklch(0.608 0.24 29.472);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.868 0.016 263.013);
--chart-1: oklch(0.868 0.016 263.013);
--chart-2: oklch(0.362 0.016 262.923);
--chart-3: oklch(0.43 0.047 231.015);
--chart-4: oklch(0.39 0.017 262.919);
--chart-5: oklch(0.867 0.018 263.005);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.276 0.026 230.613);
--foreground: oklch(0.868 0.016 261.5);
--muted: oklch(0.313 0.013 229.353);
--muted-foreground: oklch(0.759 0.017 229.055);
--popover: oklch(0.242 0.022 230.459);
--popover-foreground: oklch(0.951 0.006 259.94);
--card: oklch(0.254 0.024 230.515);
--card-foreground: oklch(0.91 0.01 259.944);
--border: oklch(0.326 0.024 230.005);
--input: oklch(0.356 0.027 230.051);
--primary: oklch(0.868 0.016 263.013);
--primary-foreground: oklch(0.346 0.03 262.685);
--secondary: oklch(0.362 0.016 262.923);
--secondary-foreground: oklch(0.88 0.007 263.038);
--accent: oklch(0.43 0.047 231.015);
--accent-foreground: oklch(0.925 0.014 228.951);
--destructive: oklch(0.608 0.24 29.472);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.868 0.016 263.013);
--chart-1: oklch(0.868 0.016 263.013);
--chart-2: oklch(0.362 0.016 262.923);
--chart-3: oklch(0.43 0.047 231.015);
--chart-4: oklch(0.39 0.017 262.919);
--chart-5: oklch(0.867 0.018 263.005);
}