PreviewingGo to this paletteOpen in generator
Code
/* Sapphire Lobby — colorset.net */
:root {
--color-1: #0F1B33;
--color-2: #D4AF61;
--color-3: #8FA9C9;
--color-4: #2A3854;
--color-5: #F1EBDD;
--color-bg: #F1EBDD;
--color-surface: #F6F2EA;
--color-border: #DAD2C1;
--color-text: #0F1B33;
--color-muted: #5E6B82;
--color-primary: #926F19;
--color-on-primary: #FFFFFF;
--color-accent: #2A3854;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F1B33;
--color-surface: #19263F;
--color-border: #313C51;
--color-text: #F1EBDD;
--color-muted: #918C7F;
--color-primary: #D4AF61;
--color-on-primary: #0F1B33;
--color-accent: #61708E;
--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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D4AF61 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #8FA9C9 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.42:1 | AAA pass 4.5:1 | |
| Text on surface | 15.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.53:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 11.72:1 | AAA pass 4.5:1 | |
| Primary on background | 3.92:1 | AA Large pass 3:1 | |
| Accent on background | 9.86:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.42:1 | AAA pass 4.5:1 | |
| Text on surface | 12.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 8.25:1 | AAA pass 4.5:1 | |
| Label on accent | 4.98:1 | AA pass 4.5:1 | |
| Primary on background | 8.25:1 | AAA pass 3:1 | |
| Accent on background | 3.44: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 | #0F1B33 (Text 1) | #D4AF61 (Text 2) | #8FA9C9 (Text 3) | #2A3854 (Text 4) | #F1EBDD (Text 5) |
|---|---|---|---|---|---|
| #0F1B33 | Same color | 8.25AAA | 7.09AAA | 1.46— | 14.42AAA |
| #D4AF61 | 8.25AAA | Same color | 1.16— | 5.64AA | 1.75— |
| #8FA9C9 | 7.09AAA | 1.16— | Same color | 4.85AA | 2.03— |
| #2A3854 | 1.46— | 5.64AA | 4.85AA | Same color | 9.86AAA |
| #F1EBDD | 14.42AAA | 1.75— | 2.03— | 9.86AAA | Same color |
Shades
Shades and tints (50–950)
