PreviewingGo to this paletteOpen in generator
Code
/* Sapphire Crown — colorset.net */
:root {
--color-1: #082567;
--color-2: #0F52BA;
--color-3: #0067A5;
--color-4: #4169E1;
--color-5: #6495ED;
--color-bg: #F2F7FF;
--color-surface: #E6EEFB;
--color-border: #CCD5E6;
--color-text: #132958;
--color-muted: #606C83;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #0F52BA;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070F1F;
--color-surface: #11192A;
--color-border: #232E42;
--color-text: #95A7C6;
--color-muted: #76849C;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #4164AC;
--color-on-accent: #FFFFFF;
}
}
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 #6495ED | adjusted for contrast · from #082567 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #082567 | adjusted for contrast · from #6495ED |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #0067A5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.14:1 | AAA pass 4.5:1 | |
| Text on surface | 12.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 7.15:1 | AAA pass 4.5:1 | |
| Primary on background | 4.51:1 | AA pass 3:1 | |
| Accent on background | 6.65:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 5.76:1 | AA pass 4.5:1 | |
| Primary on background | 3.95:1 | AA Large pass 3:1 | |
| Accent on background | 3.32:1 | AA Large 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 | #082567 (Text 1) | #0F52BA (Text 2) | #0067A5 (Text 3) | #4169E1 (Text 4) | #6495ED (Text 5) |
|---|---|---|---|---|---|
| #082567 | Same color | 2.00— | 2.37— | 2.95— | 4.80AA |
| #0F52BA | 2.00— | Same color | 1.19— | 1.48— | 2.41— |
| #0067A5 | 2.37— | 1.19— | Same color | 1.24— | 2.03— |
| #4169E1 | 2.95— | 1.48— | 1.24— | Same color | 1.63— |
| #6495ED | 4.80AA | 2.41— | 2.03— | 1.63— | Same color |
Shades
Shades and tints (50–950)
