PreviewingGo to this paletteOpen in generator
Code
/* Sapphire Ocean — colorset.net */
:root {
--color-1: #001F3F;
--color-2: #003366;
--color-3: #00478C;
--color-4: #005BB3;
--color-5: #006FD9;
--color-bg: #F2F7FF;
--color-surface: #E5EEFB;
--color-border: #CAD6E6;
--color-text: #001F3F;
--color-muted: #5B6D82;
--color-primary: #006FD9;
--color-on-primary: #FFFFFF;
--color-accent: #003366;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #06101B;
--color-surface: #101A26;
--color-border: #212F3E;
--color-text: #90A7C5;
--color-muted: #73859B;
--color-primary: #006FD9;
--color-on-primary: #FFFFFF;
--color-accent: #47688D;
--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 #006FD9 | adjusted for contrast · from #001F3F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #006FD9 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #005BB3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.40:1 | AAA pass 4.5:1 | |
| Text on surface | 14.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.91:1 | AA pass 4.5:1 | |
| Label on accent | 12.61:1 | AAA pass 4.5:1 | |
| Primary on background | 4.57:1 | AA pass 3:1 | |
| Accent on background | 11.72:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.91:1 | AA pass 4.5:1 | |
| Label on accent | 5.78:1 | AA pass 4.5:1 | |
| Primary on background | 3.90:1 | AA Large pass 3:1 | |
| Accent on background | 3.31: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 | #001F3F (Text 1) | #003366 (Text 2) | #00478C (Text 3) | #005BB3 (Text 4) | #006FD9 (Text 5) |
|---|---|---|---|---|---|
| #001F3F | Same color | 1.31— | 1.80— | 2.48— | 3.37AA Large |
| #003366 | 1.31— | Same color | 1.37— | 1.89— | 2.57— |
| #00478C | 1.80— | 1.37— | Same color | 1.38— | 1.88— |
| #005BB3 | 2.48— | 1.89— | 1.38— | Same color | 1.36— |
| #006FD9 | 3.37AA Large | 2.57— | 1.88— | 1.36— | Same color |
Shades
Shades and tints (50–950)
