PreviewingGo to this paletteOpen in generator
Code
/* Inkwell Slate — colorset.net */
:root {
--color-1: #1F2937;
--color-2: #374151;
--color-3: #4B5563;
--color-4: #6B7280;
--color-5: #9CA3AF;
--color-bg: #F5F7FB;
--color-surface: #EBEEF1;
--color-border: #D1D5DC;
--color-text: #1F2937;
--color-muted: #616D7D;
--color-primary: #6B7280;
--color-on-primary: #FFFFFF;
--color-accent: #374151;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1015;
--color-surface: #161A1F;
--color-border: #282E36;
--color-text: #9FA6B2;
--color-muted: #7D848F;
--color-primary: #6B7280;
--color-on-primary: #FFFFFF;
--color-accent: #9FA5B2;
--color-on-accent: #0C1015;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #9CA3AF | adjusted for contrast · from #1F2937 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #9CA3AF |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #9CA3AF |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.69:1 | AAA pass 4.5:1 | |
| Text on surface | 12.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 10.31:1 | AAA pass 4.5:1 | |
| Primary on background | 4.51:1 | AA pass 3:1 | |
| Accent on background | 9.61:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 7.72:1 | AAA pass 4.5:1 | |
| Primary on background | 3.95:1 | AA Large pass 3:1 | |
| Accent on background | 7.72:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #1F2937 (Text 1) | #374151 (Text 2) | #4B5563 (Text 3) | #6B7280 (Text 4) | #9CA3AF (Text 5) |
|---|---|---|---|---|---|
| #1F2937 | Same color | 1.42— | 1.94— | 3.04AA Large | 5.78AA |
| #374151 | 1.42— | Same color | 1.36— | 2.13— | 4.06AA Large |
| #4B5563 | 1.94— | 1.36— | Same color | 1.56— | 2.98— |
| #6B7280 | 3.04AA Large | 2.13— | 1.56— | Same color | 1.90— |
| #9CA3AF | 5.78AA | 4.06AA Large | 2.98— | 1.90— | Same color |
Shades
Shades and tints (50–950)
