PreviewingGo to this paletteOpen in generator
Code
/* Counsel Gray — colorset.net */
:root {
--color-1: #F1F4F6;
--color-2: #383E43;
--color-3: #5676A0;
--color-4: #BBBEC1;
--color-5: #0F1215;
--color-bg: #F1F4F6;
--color-surface: #F9FBFC;
--color-border: #D5DCE0;
--color-text: #0F1215;
--color-muted: #63676A;
--color-primary: #5676A0;
--color-on-primary: #FFFFFF;
--color-accent: #888B8D;
--color-on-accent: #0F1215;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F1215;
--color-surface: #191C1F;
--color-border: #2B3137;
--color-text: #F1F4F6;
--color-muted: #888B8D;
--color-primary: #5676A0;
--color-on-primary: #FFFFFF;
--color-accent: #66696D;
--color-on-accent: #FFFFFF;
}
}
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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5676A0 | adjusted for contrast · from #5676A0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.01:1 | AAA pass 4.5:1 | |
| Text on surface | 18.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.17:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 5.48:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.01:1 | AAA pass 4.5:1 | |
| Text on surface | 15.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.48:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 5.52:1 | AA pass 4.5:1 | |
| Primary on background | 4.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.41:1 | AA Large 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 | #F1F4F6 (Text 1) | #383E43 (Text 2) | #5676A0 (Text 3) | #BBBEC1 (Text 4) | #0F1215 (Text 5) |
|---|---|---|---|---|---|
| #F1F4F6 | Same color | 9.81AAA | 4.23AA Large | 1.69— | 17.01AAA |
| #383E43 | 9.81AAA | Same color | 2.32— | 5.80AA | 1.73— |
| #5676A0 | 4.23AA Large | 2.32— | Same color | 2.50— | 4.02AA Large |
| #BBBEC1 | 1.69— | 5.80AA | 2.50— | Same color | 10.06AAA |
| #0F1215 | 17.01AAA | 1.73— | 4.02AA Large | 10.06AAA | Same color |
Shades
Shades and tints (50–950)
