PreviewingGo to this paletteOpen in generator
Code
/* Sapphire Sky — colorset.net */
:root {
--color-1: #0F52BA;
--color-2: #1E6FBD;
--color-3: #2F80ED;
--color-4: #4A90E2;
--color-5: #5CA3FF;
--color-bg: #F2F7FF;
--color-surface: #E5EEFB;
--color-border: #CAD6E6;
--color-text: #304E80;
--color-muted: #5E6C82;
--color-primary: #2073DF;
--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: #90A7C4;
--color-muted: #73849B;
--color-primary: #2073DF;
--color-on-primary: #FFFFFF;
--color-accent: #5CA3FF;
--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 #5CA3FF | adjusted for contrast · from #0F52BA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0F52BA | adjusted for contrast · from #5CA3FF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #2F80ED | adjusted for contrast · from #2F80ED |
| 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 | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 7.15:1 | AAA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 6.65:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 7.43:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 7.43: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) | #1E6FBD (Text 2) | #2F80ED (Text 3) | #4A90E2 (Text 4) | #5CA3FF (Text 5) |
|---|---|---|---|---|---|
| #0F52BA | Same color | 1.38— | 1.85— | 2.17— | 2.77— |
| #1E6FBD | 1.38— | Same color | 1.34— | 1.57— | 2.00— |
| #2F80ED | 1.85— | 1.34— | Same color | 1.17— | 1.50— |
| #4A90E2 | 2.17— | 1.57— | 1.17— | Same color | 1.28— |
| #5CA3FF | 2.77— | 2.00— | 1.50— | 1.28— | Same color |
Shades
Shades and tints (50–950)
