August - Material Ocean is a shadcn/ui theme built around a muted blue primary color (#a7adcd) with muted deep blue accents (#2b314a). The light mode uses a blue-tinted background (#0f111a). Dark mode keeps the muted blue primary (#a7adcd) on a blue-tinted background (#0f111a).
| Token | Light | Dark |
|---|---|---|
| Background | #0f111ablack | #0f111ablack |
| Foreground | #a7adcdlightsteelblue | #a7adcdlightsteelblue |
| Card | #0b0d13black | #0b0d13black |
| Card foreground | #b7bcd7lightsteelblue | #b7bcd7lightsteelblue |
| Popover | #090b10black | #090b10black |
| Popover foreground | #c8cbe0lightgrey | #c8cbe0lightgrey |
| Primary | #a7adcdlightsteelblue | #a7adcdlightsteelblue |
| Primary foreground | #181b2ablack | #181b2ablack |
| Secondary | #34384bdarkslategray | #34384bdarkslategray |
| Secondary foreground | #d2d4e0lightgrey | #d2d4e0lightgrey |
| Muted | #22232bdarkslategray | #22232bdarkslategray |
| Muted foreground | #9b9fb0darkgray | #9b9fb0darkgray |
| Accent | #2b314adarkslategray | #2b314adarkslategray |
| Accent foreground | #c8ccdflightgrey | #c8ccdflightgrey |
| Destructive | #fb2909orangered | #fb2909orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #1c1e27black | #1c1e27black |
| Input | #222430darkslategray | #222430darkslategray |
| Ring | #a7adcdlightsteelblue | #a7adcdlightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.52:1 | AAA |
| Text on card | 10.35:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 8.04:1 | AAA |
| Destructive | 3.86:1 | AA Large |
| Text on background | 8.52:1 | AAA |
| Text on card | 10.35:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 8.04:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use August - Material Ocean in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.18 0.019 274.55);
--foreground: oklch(0.753 0.047 277.322);
--muted: oklch(0.259 0.014 275.379);
--muted-foreground: oklch(0.705 0.026 275.659);
--popover: oklch(0.149 0.012 274.834);
--popover-foreground: oklch(0.846 0.029 277.801);
--card: oklch(0.159 0.015 274.785);
--card-foreground: oklch(0.8 0.038 277.584);
--border: oklch(0.235 0.018 275.036);
--input: oklch(0.265 0.022 274.955);
--primary: oklch(0.753 0.047 277.322);
--primary-foreground: oklch(0.226 0.031 275.943);
--secondary: oklch(0.345 0.034 276.662);
--secondary-foreground: oklch(0.872 0.016 278.043);
--accent: oklch(0.319 0.047 273.771);
--accent-foreground: oklch(0.848 0.027 275.731);
--destructive: oklch(0.634 0.243 31.078);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.047 277.322);
--chart-1: oklch(0.753 0.047 277.322);
--chart-2: oklch(0.345 0.034 276.662);
--chart-3: oklch(0.319 0.047 273.771);
--chart-4: oklch(0.371 0.038 276.622);
--chart-5: oklch(0.749 0.053 277.197);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.18 0.019 274.55);
--foreground: oklch(0.753 0.047 277.322);
--muted: oklch(0.259 0.014 275.379);
--muted-foreground: oklch(0.705 0.026 275.659);
--popover: oklch(0.149 0.012 274.834);
--popover-foreground: oklch(0.846 0.029 277.801);
--card: oklch(0.159 0.015 274.785);
--card-foreground: oklch(0.8 0.038 277.584);
--border: oklch(0.235 0.018 275.036);
--input: oklch(0.265 0.022 274.955);
--primary: oklch(0.753 0.047 277.322);
--primary-foreground: oklch(0.226 0.031 275.943);
--secondary: oklch(0.345 0.034 276.662);
--secondary-foreground: oklch(0.872 0.016 278.043);
--accent: oklch(0.319 0.047 273.771);
--accent-foreground: oklch(0.848 0.027 275.731);
--destructive: oklch(0.634 0.243 31.078);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.047 277.322);
--chart-1: oklch(0.753 0.047 277.322);
--chart-2: oklch(0.345 0.034 276.662);
--chart-3: oklch(0.319 0.047 273.771);
--chart-4: oklch(0.371 0.038 276.622);
--chart-5: oklch(0.749 0.053 277.197);
}