PreviewingGo to this paletteOpen in generator
Code
/* Glass Blue — colorset.net */
:root {
--color-1: #7FB8C4;
--color-2: #95CBCD;
--color-3: #ABDED6;
--color-4: #C1F1DF;
--color-5: #D7FFF8;
--color-bg: #D7FFF8;
--color-surface: #F5FFFD;
--color-border: #C0E6DF;
--color-text: #215B66;
--color-muted: #54767D;
--color-primary: #5D96A1;
--color-on-primary: #000000;
--color-accent: #34626B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #031216;
--color-surface: #0B1C20;
--color-border: #1B3237;
--color-text: #D7FFF8;
--color-muted: #70938D;
--color-primary: #7FB8C4;
--color-on-primary: #031216;
--color-accent: #C1F1DF;
--color-on-accent: #031216;
}
}
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 5 | adjusted for contrast · from #7FB8C4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #7FB8C4 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7FB8C4 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7FB8C4 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.10:1 | AAA pass 4.5:1 | |
| Text on surface | 7.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.58:1 | AA pass 4.5:1 | |
| Label on primary | 6.34:1 | AA pass 4.5:1 | |
| Label on accent | 6.76:1 | AA pass 4.5:1 | |
| Primary on background | 3.08:1 | AA Large pass 3:1 | |
| Accent on background | 6.30:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.74:1 | AAA pass 4.5:1 | |
| Text on surface | 16.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.67:1 | AA pass 4.5:1 | |
| Label on primary | 8.67:1 | AAA pass 4.5:1 | |
| Label on accent | 15.35:1 | AAA pass 4.5:1 | |
| Primary on background | 8.67:1 | AAA pass 3:1 | |
| Accent on background | 15.35: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 | #7FB8C4 (Text 1) | #95CBCD (Text 2) | #ABDED6 (Text 3) | #C1F1DF (Text 4) | #D7FFF8 (Text 5) |
|---|---|---|---|---|---|
| #7FB8C4 | Same color | 1.22— | 1.48— | 1.77— | 2.05— |
| #95CBCD | 1.22— | Same color | 1.21— | 1.45— | 1.67— |
| #ABDED6 | 1.48— | 1.21— | Same color | 1.20— | 1.38— |
| #C1F1DF | 1.77— | 1.45— | 1.20— | Same color | 1.16— |
| #D7FFF8 | 2.05— | 1.67— | 1.38— | 1.16— | Same color |
Shades
Shades and tints (50–950)
