shadcn Slate Accessible in OKLCH
Quick answer: shadcn Slate Accessible is #1E293B, which converts to oklch(0.279 0.037 260.00). On white, it has a WCAG contrast ratio of 14.63:1 and an APCA score of Lc +101.41.
This meets the WCAG 2.2 AAA Normal text threshold (7:1) on white. The OKLCH base colors used here are available in shadcn/ui since the Tailwind v4 update (February 2025), with 92% global browser support for OKLCH notation (caniuse, April 2026).
Specs
Highest contrast: white
Accessibility lens
How does shadcn Slate Accessible scale from 50 to 950?
- 50oklch(0.969 0.007 260.73)
- 100oklch(0.832 0.014 262.37)
- 200oklch(0.693 0.020 258.36)
- 300oklch(0.556 0.028 259.80)
- 400oklch(0.418 0.033 260.21)
- 500oklch(0.279 0.037 260.03)
- 600oklch(0.251 0.034 259.58)
- 700oklch(0.221 0.031 259.02)
- 800oklch(0.190 0.025 259.24)
- 900oklch(0.159 0.021 261.35)
- 950oklch(0.129 0.015 266.38)
How does shadcn Slate Accessible score on WCAG 2.2 contrast?
Every fg × bg combination, with WCAG 2.2 verdicts.
Where should you use shadcn Slate Accessible in production UI?
What other Tailwind and shadcn colors look like shadcn Slate Accessible?
Tailwind Blue 600 in OKLCH
oklch(0.546 0.215 262.90)
Tailwind Slate 500 in OKLCH
oklch(0.554 0.041 257.40)
Tailwind Emerald 400 in OKLCH
oklch(0.773 0.153 163.20)
Tailwind Violet 600 in OKLCH
oklch(0.541 0.247 293.00)
Tailwind Rose 500 in OKLCH
oklch(0.645 0.215 16.40)
shadcn Primary Blue in OKLCH
oklch(0.623 0.188 259.80)
shadcn Zinc Dark in OKLCH
oklch(0.274 0.005 286.00)
shadcn Indigo Custom in OKLCH
oklch(0.585 0.204 277.10)
shadcn Orange in OKLCH
oklch(0.705 0.187 47.60)
:root {
--background: 240 7% 97%;
--foreground: 220 6% 10%;
--card: 240 7% 97%;
--card-foreground: 220 6% 10%;
--popover: 240 7% 97%;
--popover-foreground: 220 6% 10%;
--primary: 223 12% 49%;
--primary-foreground: 0 0% 100%;
--secondary: 247 24% 86%;
--secondary-foreground: 250 24% 15%;
--muted: 240 7% 94%;
--muted-foreground: 216 6% 50%;
--accent: 187 24% 86%;
--accent-foreground: 187 24% 15%;
--destructive: 0 72% 51%;
--destructive-foreground: 0 0% 100%;
--border: 220 5% 88%;
--input: 220 5% 88%;
--ring: 223 12% 49%;
--radius: 0.5rem;
}
.dark {
--background: 210 7% 6%;
--foreground: 240 7% 97%;
--card: 220 6% 10%;
--card-foreground: 240 7% 97%;
--popover: 220 6% 10%;
--popover-foreground: 240 7% 97%;
--primary: 222 12% 58%;
--primary-foreground: 0 0% 100%;
--secondary: 246 23% 24%;
--secondary-foreground: 247 24% 86%;
--muted: 220 7% 18%;
--muted-foreground: 218 6% 64%;
--accent: 186 23% 24%;
--accent-foreground: 187 24% 86%;
--destructive: 0 72% 51%;
--destructive-foreground: 0 0% 100%;
--border: 220 7% 18%;
--input: 220 7% 18%;
--ring: 222 12% 58%;
--radius: 0.5rem;
}Frequently asked questions
Ready to build your color system?
Free forever, no credit card, Pro when you need more.