PreviewingGo to this paletteOpen in generator
Code
/* River Blue — colorset.net */
:root {
--color-1: #4682B4;
--color-2: #5F9ACE;
--color-3: #78B2E8;
--color-4: #91CAFF;
--color-5: #B4DEFF;
--color-bg: #F0F8FF;
--color-surface: #E3EFF9;
--color-border: #C8D7E4;
--color-text: #19507A;
--color-muted: #576C80;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #648CAA;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03111E;
--color-surface: #0B1B29;
--color-border: #1C3041;
--color-text: #BCDDF7;
--color-muted: #6F879A;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #91CAFF;
--color-on-accent: #03111E;
}
}
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 #B4DEFF | adjusted for contrast · from #4682B4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4682B4 | adjusted for contrast · from #B4DEFF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4682B4 | adjusted for contrast · from #4682B4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4682B4 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 3.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.44:1 | AAA pass 4.5:1 | |
| Text on surface | 12.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 10.97:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 10.97: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 | #4682B4 (Text 1) | #5F9ACE (Text 2) | #78B2E8 (Text 3) | #91CAFF (Text 4) | #B4DEFF (Text 5) |
|---|---|---|---|---|---|
| #4682B4 | Same color | 1.37— | 1.83— | 2.37— | 2.90— |
| #5F9ACE | 1.37— | Same color | 1.33— | 1.73— | 2.12— |
| #78B2E8 | 1.83— | 1.33— | Same color | 1.30— | 1.59— |
| #91CAFF | 2.37— | 1.73— | 1.30— | Same color | 1.23— |
| #B4DEFF | 2.90— | 2.12— | 1.59— | 1.23— | Same color |
Shades
Shades and tints (50–950)
