PreviewingGo to this paletteOpen in generator
Code
/* Lecture Hall — colorset.net */
:root {
--color-1: #F2F7FE;
--color-2: #3263C3;
--color-3: #F0A646;
--color-4: #A9C0DE;
--color-5: #11213E;
--color-bg: #F2F7FE;
--color-surface: #E9EEF5;
--color-border: #CED5DF;
--color-text: #11213E;
--color-muted: #5D6B82;
--color-primary: #3263C3;
--color-on-primary: #FFFFFF;
--color-accent: #A56800;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #11213E;
--color-surface: #1C2C4A;
--color-border: #374358;
--color-text: #F2F7FE;
--color-muted: #91969C;
--color-primary: #4072D4;
--color-on-primary: #FFFFFF;
--color-accent: #F0A646;
--color-on-accent: #11213E;
}
}
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 #3263C3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F0A646 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.88:1 | AAA pass 4.5:1 | |
| Text on surface | 13.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.66:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 5.26:1 | AA pass 3:1 | |
| Accent on background | 4.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.88:1 | AAA pass 4.5:1 | |
| Text on surface | 12.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 7.82:1 | AAA pass 4.5:1 | |
| Primary on background | 3.49:1 | AA Large pass 3:1 | |
| Accent on background | 7.82: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 | #F2F7FE (Text 1) | #3263C3 (Text 2) | #F0A646 (Text 3) | #A9C0DE (Text 4) | #11213E (Text 5) |
|---|---|---|---|---|---|
| #F2F7FE | Same color | 5.26AA | 1.90— | 1.73— | 14.88AAA |
| #3263C3 | 5.26AA | Same color | 2.76— | 3.04AA Large | 2.83— |
| #F0A646 | 1.90— | 2.76— | Same color | 1.10— | 7.82AAA |
| #A9C0DE | 1.73— | 3.04AA Large | 1.10— | Same color | 8.61AAA |
| #11213E | 14.88AAA | 2.83— | 7.82AAA | 8.61AAA | Same color |
Shades
Shades and tints (50–950)
