Linear Sea Paint L2 is a shadcn/ui theme built around a vivid deep blue primary color (#095078) with vivid blue accents (#42b0f0). The light mode uses a neutral background (#f5f8fd). Dark mode keeps the vivid deep blue primary (#051e48) on a blue-tinted background (#05070b).
| Token | Light | Dark |
|---|---|---|
| Background | #f5f8fdghostwhite | #05070bblack |
| Foreground | #020812black | #ffffffwhite |
| Card | #ffffffwhite | #06090eblack |
| Card foreground | #02060eblack | #ffffffwhite |
| Popover | #f8f9fcghostwhite | #06090eblack |
| Popover foreground | #02060eblack | #ffffffwhite |
| Primary | #095078teal | #051e48midnightblue |
| Primary foreground | #ffffffwhite | #88b2f7lightskyblue |
| Secondary | #b5c8e6lightsteelblue | #111418black |
| Secondary foreground | #434546darkslategray | #9faabcdarkgray |
| Muted | #c5c9d0lightgrey | #090c11black |
| Muted foreground | #4a5059darkslategray | #a6acb5darkgray |
| Accent | #42b0f0cornflowerblue | #111418black |
| Accent foreground | #ffffffwhite | #9faabcdarkgray |
| Destructive | #d11127crimson | #f91d15red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e5e6gainsboro | #252627darkslategray |
| Input | #e5e5e6gainsboro | #252627darkslategray |
| Ring | #051e48midnightblue | #051e48midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.89:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 8.60:1 | AAA |
| Secondary button | 5.66:1 | AA |
| Muted text | 4.89:1 | AA |
| Accent | 2.41:1 | Fail |
| Destructive | 5.49:1 | AA |
| Text on background | 20.17:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 7.56:1 | AAA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 8.58:1 | AAA |
| Accent | 7.89:1 | AAA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Linear Sea Paint L2 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.007 260.732);
--foreground: oklch(0.133 0.027 251.188);
--muted: oklch(0.835 0.01 259.818);
--muted-foreground: oklch(0.429 0.017 259.933);
--popover: oklch(0.983 0.003 259.938);
--popover-foreground: oklch(0.12 0.023 248.632);
--card: oklch(1 0 180);
--card-foreground: oklch(0.12 0.023 248.632);
--border: oklch(0.923 0.001 259.935);
--input: oklch(0.923 0.001 259.935);
--primary: oklch(0.413 0.092 240.869);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.828 0.047 259.785);
--secondary-foreground: oklch(0.388 0.003 259.942);
--accent: oklch(0.722 0.135 238.541);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.547 0.215 24.758);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.247 0.083 259.421);
--chart-1: oklch(0.247 0.083 259.421);
--chart-2: oklch(0.9 0.001 259.935);
--chart-3: oklch(0.9 0.001 259.935);
--chart-4: oklch(0.923 0.001 259.935);
--chart-5: oklch(0.246 0.086 259.315);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.011 254.522);
--foreground: oklch(1 0 180);
--muted: oklch(0.152 0.012 259.489);
--muted-foreground: oklch(0.742 0.014 259.946);
--popover: oklch(0.14 0.012 256.514);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.012 256.514);
--card-foreground: oklch(1 0 180);
--border: oklch(0.268 0.003 259.944);
--input: oklch(0.268 0.003 259.944);
--primary: oklch(0.247 0.083 259.421);
--primary-foreground: oklch(0.761 0.109 259.663);
--secondary: oklch(0.188 0.01 259.91);
--secondary-foreground: oklch(0.735 0.029 259.933);
--accent: oklch(0.188 0.01 259.91);
--accent-foreground: oklch(0.735 0.029 259.933);
--destructive: oklch(0.625 0.245 29.089);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.247 0.083 259.421);
--chart-1: oklch(0.247 0.083 259.421);
--chart-2: oklch(0.188 0.01 259.91);
--chart-3: oklch(0.188 0.01 259.91);
--chart-4: oklch(0.22 0.014 259.896);
--chart-5: oklch(0.246 0.086 259.315);
}