PreviewingGo to this paletteOpen in generator
Code
/* Sapphire Bright — colorset.net */
:root {
--color-1: #0F52BA;
--color-2: #2968C7;
--color-3: #437ED4;
--color-4: #5D94E1;
--color-5: #77AAEE;
--color-bg: #F2F7FF;
--color-surface: #E5EEFB;
--color-border: #CAD6E6;
--color-text: #304E80;
--color-muted: #5E6C82;
--color-primary: #2968C7;
--color-on-primary: #FFFFFF;
--color-accent: #0F52BA;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #060F1E;
--color-surface: #101A2A;
--color-border: #222E42;
--color-text: #93A9C7;
--color-muted: #72839A;
--color-primary: #2968C7;
--color-on-primary: #FFFFFF;
--color-accent: #77AAEE;
--color-on-accent: #060F1E;
}
}
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 #77AAEE | adjusted for contrast · from #0F52BA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0F52BA | adjusted for contrast · from #77AAEE |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.39:1 | AA pass 4.5:1 | |
| Label on accent | 7.15:1 | AAA pass 4.5:1 | |
| Primary on background | 5.01:1 | AA pass 3:1 | |
| Accent on background | 6.65:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.98:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.39:1 | AA pass 4.5:1 | |
| Label on accent | 8.01:1 | AAA pass 4.5:1 | |
| Primary on background | 3.56:1 | AA Large pass 3:1 | |
| Accent on background | 8.01: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 | #0F52BA (Text 1) | #2968C7 (Text 2) | #437ED4 (Text 3) | #5D94E1 (Text 4) | #77AAEE (Text 5) |
|---|---|---|---|---|---|
| #0F52BA | Same color | 1.33— | 1.76— | 2.31— | 2.99— |
| #2968C7 | 1.33— | Same color | 1.33— | 1.74— | 2.25— |
| #437ED4 | 1.76— | 1.33— | Same color | 1.31— | 1.69— |
| #5D94E1 | 2.31— | 1.74— | 1.31— | Same color | 1.29— |
| #77AAEE | 2.99— | 2.25— | 1.69— | 1.29— | Same color |
Shades
Shades and tints (50–950)
