PreviewingGo to this paletteOpen in generator
Code
/* Charcoal Blue — colorset.net */
:root {
--color-1: #36454F;
--color-2: #586970;
--color-3: #7A8E91;
--color-4: #9CB3B2;
--color-5: #BED8D3;
--color-bg: #F1F9F7;
--color-surface: #E8EFEE;
--color-border: #CCD8D5;
--color-text: #36454F;
--color-muted: #5C6C76;
--color-primary: #778B8E;
--color-on-primary: #000000;
--color-accent: #586970;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1013;
--color-surface: #151A1E;
--color-border: #272F35;
--color-text: #BED8D3;
--color-muted: #6E8682;
--color-primary: #7A8E91;
--color-on-primary: #0B1013;
--color-accent: #596974;
--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 | adjusted for contrast · from #BED8D3 | adjusted for contrast · from #36454F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7A8E91 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #586970 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.26:1 | AAA pass 4.5:1 | |
| Text on surface | 8.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 5.35:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.71:1 | AAA pass 4.5:1 | |
| Text on surface | 11.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 5.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.68:1 | AA pass 4.5:1 | |
| Primary on background | 5.56:1 | AA pass 3:1 | |
| Accent on background | 3.37: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 | #36454F (Text 1) | #586970 (Text 2) | #7A8E91 (Text 3) | #9CB3B2 (Text 4) | #BED8D3 (Text 5) |
|---|---|---|---|---|---|
| #36454F | Same color | 1.73— | 2.88— | 4.48AA Large | 6.58AA |
| #586970 | 1.73— | Same color | 1.66— | 2.59— | 3.80AA Large |
| #7A8E91 | 2.88— | 1.66— | Same color | 1.56— | 2.29— |
| #9CB3B2 | 4.48AA Large | 2.59— | 1.56— | Same color | 1.47— |
| #BED8D3 | 6.58AA | 3.80AA Large | 2.29— | 1.47— | Same color |
Shades
Shades and tints (50–950)
