PreviewingGo to this paletteOpen in generator
Code
/* Sapphire Glow — colorset.net */
:root {
--color-1: #0F52BA;
--color-2: #0F6FDE;
--color-3: #3B8EFF;
--color-4: #72B0FF;
--color-5: #A9D3FF;
--color-bg: #F1F8FF;
--color-surface: #E4EFFB;
--color-border: #C9D7E5;
--color-text: #304E80;
--color-muted: #5E6C82;
--color-primary: #0F6FDE;
--color-on-primary: #FFFFFF;
--color-accent: #638BB3;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #060F1E;
--color-surface: #101A2A;
--color-border: #222E42;
--color-text: #B6D2EF;
--color-muted: #708499;
--color-primary: #0F6FDE;
--color-on-primary: #FFFFFF;
--color-accent: #72B0FF;
--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 #A9D3FF | adjusted for contrast · from #0F52BA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0F52BA | adjusted for contrast · from #A9D3FF |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3B8EFF | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 4.51:1 | AA pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.29:1 | AAA pass 4.5:1 | |
| Text on surface | 11.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 8.56:1 | AAA pass 4.5:1 | |
| Primary on background | 3.97:1 | AA Large pass 3:1 | |
| Accent on background | 8.56: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) | #0F6FDE (Text 2) | #3B8EFF (Text 3) | #72B0FF (Text 4) | #A9D3FF (Text 5) |
|---|---|---|---|---|---|
| #0F52BA | Same color | 1.48— | 2.21— | 3.19AA Large | 4.58AA |
| #0F6FDE | 1.48— | Same color | 1.49— | 2.15— | 3.09AA Large |
| #3B8EFF | 2.21— | 1.49— | Same color | 1.44— | 2.07— |
| #72B0FF | 3.19AA Large | 2.15— | 1.44— | Same color | 1.44— |
| #A9D3FF | 4.58AA | 3.09AA Large | 2.07— | 1.44— | Same color |
Shades
Shades and tints (50–950)
