PreviewingGo to this paletteOpen in generator
Code
/* Sapphire Deep — colorset.net */
:root {
--color-1: #0F52BA;
--color-2: #1F62CA;
--color-3: #2F72DA;
--color-4: #3F82EA;
--color-5: #0542AA;
--color-bg: #F2F7FF;
--color-surface: #E6EEFB;
--color-border: #CBD6E6;
--color-text: #304B7D;
--color-muted: #5D6A81;
--color-primary: #2F72DA;
--color-on-primary: #FFFFFF;
--color-accent: #0542AA;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070F1F;
--color-surface: #10192A;
--color-border: #222E42;
--color-text: #91A5C3;
--color-muted: #74839B;
--color-primary: #2F72DA;
--color-on-primary: #FFFFFF;
--color-accent: #74AAFF;
--color-on-accent: #070F1F;
}
}
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 #3F82EA | adjusted for contrast · from #0542AA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0542AA | adjusted for contrast · from #3F82EA |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 5 | adjusted for contrast · from #3F82EA |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.04:1 | AAA pass 4.5:1 | |
| Text on surface | 7.41:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 8.88:1 | AAA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 8.25:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 8.15:1 | AAA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 8.15: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) | #1F62CA (Text 2) | #2F72DA (Text 3) | #3F82EA (Text 4) | #0542AA (Text 5) |
|---|---|---|---|---|---|
| #0F52BA | Same color | 1.25— | 1.55— | 1.90— | 1.24— |
| #1F62CA | 1.25— | Same color | 1.24— | 1.53— | 1.55— |
| #2F72DA | 1.55— | 1.24— | Same color | 1.23— | 1.92— |
| #3F82EA | 1.90— | 1.53— | 1.23— | Same color | 2.36— |
| #0542AA | 1.24— | 1.55— | 1.92— | 2.36— | Same color |
Shades
Shades and tints (50–950)
