Hammam Blue Antlion for shadcn/ui

Hammam Blue Antlion is a shadcn/ui theme built around a teal primary color (#4ddbd6) with red accents (#db4d52). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the teal primary (#4ddbd6) on a neutral background (#030807).

Color palette

TokenLightDark
Background
#f8fcfcmintcream
#030807black
Foreground
#020908black
#fcfdfdwhite
Card
#f8fcfcmintcream
#030807black
Card foreground
#020908black
#fcfdfdwhite
Popover
#f8fcfcmintcream
#030807black
Popover foreground
#020908black
#fcfdfdwhite
Primary
#4ddbd6mediumturquoise
#4ddbd6mediumturquoise
Primary foreground
#000000black
#000000black
Secondary
#db4d52indianred
#1b2323black
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ebe5e5linen
#1a1414black
Muted foreground
#5e5e5edimgray
#a1a1a1darkgray
Accent
#db4d52indianred
#db4d52indianred
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#a31800darkred
#ff3814orangered
Destructive foreground
#ffdcd6mistyrose
#ffffffwhite
Border
#e4e7e7gainsboro
#1f2323black
Input
#e4e7e7gainsboro
#1f2323black
Ring
#4ddbd6mediumturquoise
#4ddbd6mediumturquoise

Contrast

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

Light mode
Text on background19.43:1AAA
Text on card19.43:1AAA
Primary button12.37:1AAA
Secondary button4.04:1AA Large
Muted text5.20:1AA
Accent4.04:1AA Large
Destructive6.10:1AA
Dark mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button12.37:1AAA
Secondary button15.96:1AAA
Muted text7.05:1AAA
Accent4.04:1AA Large
Destructive3.60:1AA Large

CSS variables

Paste this into your globals.css to use Hammam Blue Antlion in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.004 194.706);
  --foreground: oklch(0.127 0.016 193.276);
  --muted: oklch(0.926 0.007 14.942);
  --muted-foreground: oklch(0.483 0 180);
  --popover: oklch(0.988 0.004 194.706);
  --popover-foreground: oklch(0.127 0.016 193.276);
  --card: oklch(0.988 0.004 194.706);
  --card-foreground: oklch(0.127 0.016 193.276);
  --border: oklch(0.925 0.003 194.734);
  --input: oklch(0.925 0.003 194.734);
  --primary: oklch(0.814 0.119 191.888);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.615 0.177 22.092);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.615 0.177 22.092);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.46 0.175 31.84);
  --destructive-foreground: oklch(0.923 0.04 29.678);
  --ring: oklch(0.814 0.119 191.888);
  --chart-1: oklch(0.814 0.119 191.888);
  --chart-2: oklch(0.615 0.177 22.092);
  --chart-3: oklch(0.615 0.177 22.092);
  --chart-4: oklch(0.637 0.165 21.053);
  --chart-5: oklch(0.822 0.123 191.808);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.012 193.634);
  --foreground: oklch(0.994 0.002 194.757);
  --muted: oklch(0.198 0.011 15.902);
  --muted-foreground: oklch(0.708 0 158.199);
  --popover: oklch(0.124 0.012 193.634);
  --popover-foreground: oklch(0.994 0.002 194.757);
  --card: oklch(0.124 0.012 193.634);
  --card-foreground: oklch(0.994 0.002 194.757);
  --border: oklch(0.252 0.005 194.431);
  --input: oklch(0.252 0.005 194.431);
  --primary: oklch(0.814 0.119 191.888);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.249 0.012 194.995);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.615 0.177 22.092);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.65 0.237 31.947);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.814 0.119 191.888);
  --chart-1: oklch(0.814 0.119 191.888);
  --chart-2: oklch(0.249 0.012 194.995);
  --chart-3: oklch(0.615 0.177 22.092);
  --chart-4: oklch(0.283 0.014 194.948);
  --chart-5: oklch(0.822 0.123 191.808);
}