PreviewingGo to this paletteOpen in generator
Code
/* Shallow Reef — colorset.net */
:root {
--color-1: #87CEEB;
--color-2: #98E4FF;
--color-3: #A8F0FF;
--color-4: #B8FCFF;
--color-5: #76C4DB;
--color-bg: #E8FBFC;
--color-surface: #DFF2F3;
--color-border: #C3DADB;
--color-text: #005668;
--color-muted: #4F6F79;
--color-primary: #2E7F95;
--color-on-primary: #FFFFFF;
--color-accent: #509295;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001218;
--color-surface: #041D24;
--color-border: #15323B;
--color-text: #C7F8FA;
--color-muted: #6A8E90;
--color-primary: #76C4DB;
--color-on-primary: #001218;
--color-accent: #98E4FF;
--color-on-accent: #001218;
}
}
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 #B8FCFF | adjusted for contrast · from #76C4DB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #76C4DB | adjusted for contrast · from #B8FCFF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #76C4DB | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #76C4DB | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.89:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.58:1 | AAA pass 4.5:1 | |
| Text on surface | 15.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.35:1 | AA pass 4.5:1 | |
| Label on primary | 9.72:1 | AAA pass 4.5:1 | |
| Label on accent | 13.53:1 | AAA pass 4.5:1 | |
| Primary on background | 9.72:1 | AAA pass 3:1 | |
| Accent on background | 13.53: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 | #87CEEB (Text 1) | #98E4FF (Text 2) | #A8F0FF (Text 3) | #B8FCFF (Text 4) | #76C4DB (Text 5) |
|---|---|---|---|---|---|
| #87CEEB | Same color | 1.23— | 1.37— | 1.53— | 1.13— |
| #98E4FF | 1.23— | Same color | 1.11— | 1.24— | 1.39— |
| #A8F0FF | 1.37— | 1.11— | Same color | 1.11— | 1.55— |
| #B8FCFF | 1.53— | 1.24— | 1.11— | Same color | 1.72— |
| #76C4DB | 1.13— | 1.39— | 1.55— | 1.72— | Same color |
Shades
Shades and tints (50–950)
