Export

Code

/* Riviera — colorset.net */
:root {
  --color-1: #F7F6F0;
  --color-2: #1E5AA8;
  --color-3: #F2C14E;
  --color-4: #D8DFEA;
  --color-5: #142033;

  --color-bg: #F7F6F0;
  --color-surface: #EEEDE7;
  --color-border: #D6D4CB;
  --color-text: #142033;
  --color-muted: #5E6C83;
  --color-primary: #1E5AA8;
  --color-on-primary: #FFFFFF;
  --color-accent: #946F00;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #142033;
    --color-surface: #1F2B3F;
    --color-border: #344156;
    --color-text: #F7F6F0;
    --color-muted: #95948F;
    --color-primary: #3A75C6;
    --color-on-primary: #FFFFFF;
    --color-accent: #F2C14E;
    --color-on-accent: #142033;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundfrom palette · color 1from palette · color 5
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 1
Muted textderivedderived
Primaryfrom palette · color 2adjusted for contrast · from #1E5AA8
On primaryderivedderived
Accentadjusted for contrast · from #1E5AA8from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.10:1AAA pass 4.5:1
Text on surface13.94:1AAA pass 4.5:1
Muted text on background4.91:1AA pass 4.5:1
Label on primary6.81:1AA pass 4.5:1
Label on accent4.63:1AA pass 4.5:1
Primary on background6.29:1AA pass 3:1
Accent on background4.28:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.10:1AAA pass 4.5:1
Text on surface13.14:1AAA pass 4.5:1
Muted text on background5.38:1AA pass 4.5:1
Label on primary4.63:1AA pass 4.5:1
Label on accent9.74:1AAA pass 4.5:1
Primary on background3.54:1AA Large pass 3:1
Accent on background9.74:1AAA 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.

Every color on every color
Background / Text#F7F6F0 (Text 1)#1E5AA8 (Text 2)#F2C14E (Text 3)#D8DFEA (Text 4)#142033 (Text 5)
#F7F6F0Same color6.29AA1.55—1.24—15.10AAA
#1E5AA86.29AASame color4.06AA Large5.08AA2.40—
#F2C14E1.55—4.06AA LargeSame color1.25—9.74AAA
#D8DFEA1.24—5.08AA1.25—Same color12.20AAA
#14203315.10AAA2.40—9.74AAA12.20AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F7F6F0#1E5AA8#F2C14E#D8DFEA#142033

Variations

About Riviera

Riviera blue and lemon yellow, sunny Mediterranean style. Riviera brings together a white, a blue, a light yellow, a cream and a deep blue (#F7F6F0, #1E5AA8, #F2C14E, #D8DFEA, #142033) in a balanced, multi-color-led scheme. Light yellow #F2C14E and deep blue #142033 sit on nearly opposite sides of the wheel (174° apart), a complementary pairing that makes accents pop. A 73-point lightness range (24% for #142033 to 97% for #F7F6F0) gives strong value contrast, useful for text on background. Average chroma is 0.069, low for a palette, so the colors feel soft and muted; the most saturated color is #F2C14E. Text contrast reaches 15.1:1 in light mode and 15.1:1 in dark mode, with #1E5AA8 as primary and #946F00 as accent. With #1E5AA8 leading, good fits include data visualization, illustration and calm productivity apps.

Riviera color palette: #F7F6F0, #1E5AA8, #F2C14E, #D8DFEA, #142033
Share image for Riviera

Gradients in similar colors