PreviewingGo to this paletteOpen in generator
Code
/* Sapphire Cascade — colorset.net */
:root {
--color-1: #0F52BA;
--color-2: #0066CC;
--color-3: #4169E1;
--color-4: #6495ED;
--color-5: #87CEEB;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E2;
--color-text: #304E80;
--color-muted: #5E6C82;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #4B92AD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #060F1E;
--color-surface: #101A2A;
--color-border: #222E42;
--color-text: #A1CADB;
--color-muted: #688794;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #6495ED;
--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 #87CEEB | adjusted for contrast · from #0F52BA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0F52BA | adjusted for contrast · from #87CEEB |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6495ED | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.51:1 | AA pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.95:1 | AAA pass 4.5:1 | |
| Text on surface | 9.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 6.45:1 | AA pass 4.5:1 | |
| Primary on background | 3.96:1 | AA Large pass 3:1 | |
| Accent on background | 6.45: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 | #0F52BA (Text 1) | #0066CC (Text 2) | #4169E1 (Text 3) | #6495ED (Text 4) | #87CEEB (Text 5) |
|---|---|---|---|---|---|
| #0F52BA | Same color | 1.28— | 1.48— | 2.41— | 4.11AA Large |
| #0066CC | 1.28— | Same color | 1.15— | 1.87— | 3.20AA Large |
| #4169E1 | 1.48— | 1.15— | Same color | 1.63— | 2.78— |
| #6495ED | 2.41— | 1.87— | 1.63— | Same color | 1.71— |
| #87CEEB | 4.11AA Large | 3.20AA Large | 2.78— | 1.71— | Same color |
Shades
Shades and tints (50–950)
