PreviewingGo to this paletteOpen in generator
Code
/* Chat Bubble — colorset.net */
:root {
--color-1: #F5F7FB;
--color-2: #2C63E8;
--color-3: #2FB36B;
--color-4: #D5DEEE;
--color-5: #121A2B;
--color-bg: #F5F7FB;
--color-surface: #ECEEF2;
--color-border: #D2D5DC;
--color-text: #121A2B;
--color-muted: #616B80;
--color-primary: #2C63E8;
--color-on-primary: #FFFFFF;
--color-accent: #00884B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121A2B;
--color-surface: #1C2537;
--color-border: #303A4F;
--color-text: #F5F7FB;
--color-muted: #909295;
--color-primary: #2F66EC;
--color-on-primary: #FFFFFF;
--color-accent: #2FB36B;
--color-on-accent: #121A2B;
}
}
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 2 | adjusted for contrast · from #2C63E8 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2FB36B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.20:1 | AAA pass 4.5:1 | |
| Text on surface | 14.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 5.18:1 | AA pass 4.5:1 | |
| Label on accent | 4.54:1 | AA pass 4.5:1 | |
| Primary on background | 4.83:1 | AA pass 3:1 | |
| Accent on background | 4.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.20:1 | AAA pass 4.5:1 | |
| Text on surface | 14.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.57:1 | AA pass 4.5:1 | |
| Label on primary | 4.96:1 | AA pass 4.5:1 | |
| Label on accent | 6.44:1 | AA pass 4.5:1 | |
| Primary on background | 3.50:1 | AA Large pass 3:1 | |
| Accent on background | 6.44:1 | AA 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 | #F5F7FB (Text 1) | #2C63E8 (Text 2) | #2FB36B (Text 3) | #D5DEEE (Text 4) | #121A2B (Text 5) |
|---|---|---|---|---|---|
| #F5F7FB | Same color | 4.83AA | 2.52— | 1.26— | 16.20AAA |
| #2C63E8 | 4.83AA | Same color | 1.92— | 3.82AA Large | 3.36AA Large |
| #2FB36B | 2.52— | 1.92— | Same color | 1.99— | 6.44AA |
| #D5DEEE | 1.26— | 3.82AA Large | 1.99— | Same color | 12.84AAA |
| #121A2B | 16.20AAA | 3.36AA Large | 6.44AA | 12.84AAA | Same color |
Shades
Shades and tints (50–950)
