The quick brown fox jumps over the lazy dog
Contrast Ratio
1.42
to 1
AA NormalFAIL
AAA NormalFAIL
AA LargeFAIL
AAA LargeFAIL
Color Details
Text Color
Slate 300
#cbd5e1text-slate-300
Background Color
Slate 50
#f8fafcbg-slate-50
WCAG Compliance
| Criterion | Min Ratio | Result |
|---|---|---|
| Normal Text AA | 4.5:1 | FAIL |
| Normal Text AAA | 7:1 | FAIL |
| Large Text AA | 3:1 | FAIL |
| Large Text AAA | 4.5:1 | FAIL |
Code Examples
Tailwind CSShtml
<!-- Text color: text-slate-300 -->
<!-- Background: bg-slate-50 -->
<div class="bg-slate-50 p-6 rounded-lg">
<p class="text-slate-300">
Your accessible text here
</p>
</div>Plain CSScss
/* Text: #cbd5e1 on Background: #f8fafc */
.accessible-container {
background-color: #f8fafc;
color: #cbd5e1;
padding: 1.5rem;
border-radius: 0.5rem;
}Use Cases
- Decorative text only (not for body copy)
- Large display headings (36px+) if AA Large passes
- Placeholder or watermark text
Accessible Alternatives
Aa
text-slate-5004.55:1
bg-slate-50
Aa
text-slate-6007.24:1
bg-slate-50
Aa
text-slate-30013.59:1
bg-slate-950
Frequently Asked Questions
Is slate 300 text on slate 50 accessible?▼
No, this combination fails WCAG AA with a contrast ratio of only 1.42:1, below the 4.5:1 minimum for normal text.
What is the contrast ratio of slate 300 on slate 50?▼
The contrast ratio is 1.42:1. WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. WCAG AAA requires 7:1 for normal text and 4.5:1 for large text.
How can I make slate 300 on slate 50 accessible?▼
To achieve WCAG AA compliance, try using a darker text shade or a lighter background shade. For example, increasing the contrast by using a darker shade of slate or adjusting the background.
Related Color Pairs
Check Your Own Color Pair
Use our free contrast checker to test any combination of text and background colors.
Open Contrast Checker