shadcn Indigo Custom in OKLCH
Quick answer: shadcn Indigo Custom is #6366F1, which converts to oklch(0.585 0.204 277.10). On white, it has a WCAG contrast ratio of 4.47:1 and an APCA score of Lc +70.58.
This meets the WCAG 2.2 AA Large text threshold (3: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).
shadcn Indigo Custom is a shadcn theme token. This page frames #6366F1 as a theme token: paste the :root and .dark blocks below to theme every component at once.
Specs
Highest contrast: black
Accessibility lens
- Base#6366F1
- 300#939FFF
- 500#6366F1
- 700#3833A3
Toggle a lens to preview this color under color vision differences.
How does shadcn Indigo Custom go from primitive to component?
- Primitive
- Semantic
- Component
Primitive
The raw value, before it means anything.
- hex
- #6366F1
- oklch
- oklch(0.585 0.204 277.10)
Semantic
Bound to a role token that UI reads by name.
--primary: #6366F1One primitive feeds the role. --primary then drives --ring and the hover and active states below, so a single value stays in sync everywhere.
Component
Applied to real UI across states.
On-color text: black (4.70:1 on #6366F1).
How does shadcn Indigo Custom scale from 50 to 950?
- 50oklch(0.964 0.017 267.79)
- 100oklch(0.888 0.055 275.01)
- 200oklch(0.810 0.096 276.21)
- 300oklch(0.733 0.139 276.98)
- 400oklch(0.661 0.182 277.42)
- 500oklch(0.585 0.204 277.12)
- 600oklch(0.494 0.194 276.95)
- 700oklch(0.404 0.174 277.22)
- 800oklch(0.312 0.142 276.82)
- 900oklch(0.221 0.113 277.28)
- 950oklch(0.132 0.081 277.60)
How does shadcn Indigo Custom score on WCAG 2.2 contrast?
Every fg × bg combination, with WCAG 2.2 verdicts.
Does shadcn Indigo Custom pass WCAG 2.2 on common neutral backgrounds?
- Aa4.47Below AA
White #FFFFFF
- Aa4.10Below AA
Neutral 100 #F5F5F5
- Aa3.55Below AA
Neutral 200 #E5E5E5
- Aa1.77Below AA
Neutral 400 #A3A3A3
- Aa1.75Below AA
Neutral 600 #525252
- Aa4.01Below AA
Neutral 900 #171717
- Aa4.70AA
Black #000000
What palettes pair with shadcn Indigo Custom?
Analogous
- #63DCF1
- #63A1F1
- #6366F1
- #9B63F1
- #D663F1
Complementary
- #A9ABF7
- #6366F1
Triadic
- #6366F1
- #1419E4
- #F16366
Where should you use shadcn Indigo Custom in production UI?
Notes on shadcn Indigo Custom
Indigo Custom lands one notch cooler and softer than a pure blue, oklch(0.585 0.204 277.1), a friendly indigo that works as a primary or a link. It is the near-miss of this set worth knowing about: as text on white it measures 4.47:1, which is AA Large, just three hundredths under the 4.5 needed for WCAG 2.2 AA on normal text, so do not assume small indigo copy on white is compliant, size it up or use a darker stop. On a near-black surface it actually does better at AA (4.7:1, APCA Lc -31.09). The triad throws an electric #1419E4 and a coral #F16366, while #A9ABF7 is a gentle tint for hovers. Under the accessibility lens indigo is stable for red-green vision (protanopia sits at #6464CF, almost unchanged), which is a point in its favor; tritanopia pulls it to teal (#63B5AF), so keep any indigo-versus-teal signal backed by text.
What other Tailwind and shadcn colors relate to shadcn Indigo Custom?
Other shadcn themes
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 Slate Accessible in OKLCH
oklch(0.279 0.037 260.00)
shadcn Orange in OKLCH
oklch(0.705 0.187 47.60)
shadcn Green in OKLCH
oklch(0.723 0.192 149.60)
shadcn Red in OKLCH
oklch(0.637 0.208 25.30)
shadcn Violet in OKLCH
oklch(0.606 0.219 292.70)
Nearest hues across families
:root {
--background: 240 7% 97%;
--foreground: 240 6% 10%;
--card: 240 7% 97%;
--card-foreground: 240 6% 10%;
--popover: 240 7% 97%;
--popover-foreground: 240 6% 10%;
--primary: 239 84% 67%;
--primary-foreground: 0 0% 100%;
--secondary: 266 95% 92%;
--secondary-foreground: 272 58% 15%;
--muted: 240 7% 94%;
--muted-foreground: 240 6% 50%;
--accent: 208 75% 91%;
--accent-foreground: 208 67% 13%;
--destructive: 0 72% 51%;
--destructive-foreground: 0 0% 100%;
--border: 240 5% 88%;
--input: 240 5% 88%;
--ring: 239 84% 67%;
--radius: 0.5rem;
}
.dark {
--background: 240 7% 6%;
--foreground: 240 7% 97%;
--card: 240 6% 10%;
--card-foreground: 240 7% 97%;
--popover: 240 6% 10%;
--popover-foreground: 240 7% 97%;
--primary: 236 100% 74%;
--primary-foreground: 0 0% 100%;
--secondary: 270 44% 27%;
--secondary-foreground: 266 95% 92%;
--muted: 240 7% 18%;
--muted-foreground: 240 6% 64%;
--accent: 209 47% 25%;
--accent-foreground: 208 75% 91%;
--destructive: 0 72% 51%;
--destructive-foreground: 0 0% 100%;
--border: 240 7% 18%;
--input: 240 7% 18%;
--ring: 236 100% 74%;
--radius: 0.5rem;
}How do you export shadcn Indigo Custom as design tokens?
Export a W3C DTCG token document for the shadcn Indigo Custom 50 to 950 scale, ready for Style Dictionary or any DTCG aware pipeline.
Frequently asked questions
Ready to build your color system?
Free forever, no credit card, Pro when you need more.
Built by a product designer who ships to code.