PreviewingGo to this paletteOpen in generator
Code
/* Pacific Depths — colorset.net */
:root {
--color-1: #0C4A6E;
--color-2: #075985;
--color-3: #0369A1;
--color-4: #0EA5E9;
--color-5: #38BDF8;
--color-bg: #EEF9FF;
--color-surface: #E1F0F9;
--color-border: #C5D8E3;
--color-text: #0C4A6E;
--color-muted: #566E80;
--color-primary: #007CB1;
--color-on-primary: #FFFFFF;
--color-accent: #075985;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #02111D;
--color-surface: #0A1B28;
--color-border: #1B3040;
--color-text: #90B5CA;
--color-muted: #6B8797;
--color-primary: #0EA5E9;
--color-on-primary: #02111D;
--color-accent: #346C92;
--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 #38BDF8 | adjusted for contrast · from #0C4A6E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #38BDF8 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0369A1 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #0369A1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.84:1 | AAA pass 4.5:1 | |
| Text on surface | 8.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 7.56:1 | AAA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 7.07:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.77:1 | AAA pass 4.5:1 | |
| Text on surface | 8.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 6.89:1 | AA pass 4.5:1 | |
| Label on accent | 5.67:1 | AA pass 4.5:1 | |
| Primary on background | 6.89:1 | AA pass 3:1 | |
| Accent on background | 3.37: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 | #0C4A6E (Text 1) | #075985 (Text 2) | #0369A1 (Text 3) | #0EA5E9 (Text 4) | #38BDF8 (Text 5) |
|---|---|---|---|---|---|
| #0C4A6E | Same color | 1.25— | 1.59— | 3.41AA Large | 4.42AA Large |
| #075985 | 1.25— | Same color | 1.27— | 2.73— | 3.53AA Large |
| #0369A1 | 1.59— | 1.27— | Same color | 2.14— | 2.77— |
| #0EA5E9 | 3.41AA Large | 2.73— | 2.14— | Same color | 1.29— |
| #38BDF8 | 4.42AA Large | 3.53AA Large | 2.77— | 1.29— | Same color |
Shades
Shades and tints (50–950)
