Dark Turquoise Ocelot for shadcn/ui

Dark Turquoise Ocelot is a shadcn/ui theme built around a vivid deep teal primary color (#015b5b) with vivid deep red accents (#5b0101). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid deep teal primary (#015b5b) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#fbfefewhite
#030707black
Foreground
#000000black
#f5fafamintcream
Card
#f8fcfcmintcream
#040b0bblack
Card foreground
#000000black
#f8fbfbghostwhite
Popover
#f8fcfcmintcream
#040b0bblack
Popover foreground
#000000black
#f8fbfbghostwhite
Primary
#015b5bdarkslategray
#015b5bdarkslategray
Primary foreground
#2bfdfdaqua
#2bfdfdaqua
Secondary
#5b0101maroon
#5b0101maroon
Secondary foreground
#fe9090lightcoral
#fe9090lightcoral
Muted
#f6eaealinen
#150909black
Muted foreground
#6c6060dimgray
#9f9393rosybrown
Accent
#5b0101maroon
#5b0101maroon
Accent foreground
#fe9090lightcoral
#fe9090lightcoral
Destructive
#6b2000maroon
#f54900orangered
Destructive foreground
#ffbb9elightpink
#ffffffwhite
Border
#e8ededlavender
#1d2626darkslategray
Input
#e8ededlavender
#1d2626darkslategray
Ring
#015b5bdarkslategray
#015b5bdarkslategray

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.66:1AAA
Text on card20.33:1AAA
Primary button6.26:1AA
Secondary button6.63:1AA
Muted text5.12:1AA
Accent6.63:1AA
Destructive7.00:1AAA
Dark mode
Text on background19.18:1AAA
Text on card19.06:1AAA
Primary button6.26:1AA
Secondary button6.63:1AA
Muted text6.56:1AA
Accent6.63:1AA
Destructive3.59:1AA Large

CSS variables

Paste this into your globals.css to use Dark Turquoise Ocelot in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 197.118);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.946 0.013 17.38);
  --muted-foreground: oklch(0.5 0.016 17.691);
  --popover: oklch(0.988 0.005 197.077);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.005 197.077);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.943 0.006 197.053);
  --input: oklch(0.943 0.006 197.053);
  --primary: oklch(0.426 0.072 194.777);
  --primary-foreground: oklch(0.902 0.149 194.841);
  --secondary: oklch(0.296 0.12 29.017);
  --secondary-foreground: oklch(0.771 0.133 20.597);
  --accent: oklch(0.296 0.12 29.017);
  --accent-foreground: oklch(0.771 0.133 20.597);
  --destructive: oklch(0.359 0.113 39.67);
  --destructive-foreground: oklch(0.848 0.088 44.185);
  --ring: oklch(0.426 0.072 194.777);
  --chart-1: oklch(0.426 0.072 194.777);
  --chart-2: oklch(0.296 0.12 29.017);
  --chart-3: oklch(0.296 0.12 29.017);
  --chart-4: oklch(0.33 0.134 29.051);
  --chart-5: oklch(0.431 0.074 194.765);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.011 195.773);
  --foreground: oklch(0.981 0.005 197.078);
  --muted: oklch(0.16 0.021 19.616);
  --muted-foreground: oklch(0.673 0.015 17.52);
  --popover: oklch(0.142 0.013 195.77);
  --popover-foreground: oklch(0.987 0.003 197.105);
  --card: oklch(0.142 0.013 195.77);
  --card-foreground: oklch(0.987 0.003 197.105);
  --border: oklch(0.259 0.013 196.371);
  --input: oklch(0.259 0.013 196.371);
  --primary: oklch(0.426 0.072 194.777);
  --primary-foreground: oklch(0.902 0.149 194.841);
  --secondary: oklch(0.296 0.12 29.017);
  --secondary-foreground: oklch(0.771 0.133 20.597);
  --accent: oklch(0.296 0.12 29.017);
  --accent-foreground: oklch(0.771 0.133 20.597);
  --destructive: oklch(0.647 0.217 36.962);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.426 0.072 194.777);
  --chart-1: oklch(0.426 0.072 194.777);
  --chart-2: oklch(0.296 0.12 29.017);
  --chart-3: oklch(0.296 0.12 29.017);
  --chart-4: oklch(0.33 0.134 29.051);
  --chart-5: oklch(0.431 0.074 194.765);
}