PreviewingGo to this paletteOpen in generator
Code
/* Bay Blue — colorset.net */
:root {
--color-1: #2B5F75;
--color-2: #3F7A91;
--color-3: #5395AD;
--color-4: #67B0C9;
--color-5: #8BCBE5;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E1;
--color-text: #1F5469;
--color-muted: #526F7C;
--color-primary: #3F7A91;
--color-on-primary: #FFFFFF;
--color-accent: #508FA8;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #031218;
--color-surface: #0B1C23;
--color-border: #1C313A;
--color-text: #9FC8D9;
--color-muted: #6A8996;
--color-primary: #3F7A91;
--color-on-primary: #FFFFFF;
--color-accent: #67B0C9;
--color-on-accent: #031218;
}
}
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 #8BCBE5 | adjusted for contrast · from #2B5F75 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2B5F75 | adjusted for contrast · from #8BCBE5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5395AD | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.77:1 | AA pass 4.5:1 | |
| Label on accent | 5.84:1 | AA pass 4.5:1 | |
| Primary on background | 4.44:1 | AA Large pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.64:1 | AAA pass 4.5:1 | |
| Text on surface | 9.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.77:1 | AA pass 4.5:1 | |
| Label on accent | 7.82:1 | AAA pass 4.5:1 | |
| Primary on background | 3.99:1 | AA Large pass 3:1 | |
| Accent on background | 7.82: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 | #2B5F75 (Text 1) | #3F7A91 (Text 2) | #5395AD (Text 3) | #67B0C9 (Text 4) | #8BCBE5 (Text 5) |
|---|---|---|---|---|---|
| #2B5F75 | Same color | 1.47— | 2.09— | 2.88— | 3.93AA Large |
| #3F7A91 | 1.47— | Same color | 1.42— | 1.96— | 2.67— |
| #5395AD | 2.09— | 1.42— | Same color | 1.38— | 1.88— |
| #67B0C9 | 2.88— | 1.96— | 1.38— | Same color | 1.36— |
| #8BCBE5 | 3.93AA Large | 2.67— | 1.88— | 1.36— | Same color |
Shades
Shades and tints (50–950)
