Export

Code

/* Red Blue — colorset.net */
:root {
  --color-1: #8B0000;
  --color-2: #B22222;
  --color-3: #87CEEB;
  --color-4: #B0E0E6;
  --color-5: #F0F8FF;

  --color-bg: #F0F8FF;
  --color-surface: #E7EFF6;
  --color-border: #CCD6E0;
  --color-text: #70322A;
  --color-muted: #82645F;
  --color-primary: #B22222;
  --color-on-primary: #FFFFFF;
  --color-accent: #4B92AD;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1C0907;
    --color-surface: #281310;
    --color-border: #402622;
    --color-text: #F0F8FF;
    --color-muted: #858C93;
    --color-primary: #BD2E2B;
    --color-on-primary: #FFFFFF;
    --color-accent: #87CEEB;
    --color-on-accent: #1C0907;
  }
}

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 5adjusted for contrast · from #8B0000
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #8B0000from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 2adjusted for contrast · from #B22222
On primaryderivedderived
Accentadjusted for contrast · from #87CEEBfrom palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background8.99:1AAA pass 4.5:1
Text on surface8.30:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary6.68:1AA pass 4.5:1
Label on accent6.01:1AA pass 4.5:1
Primary on background6.22:1AA pass 3:1
Accent on background3.25:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.93:1AAA pass 4.5:1
Text on surface16.44:1AAA pass 4.5:1
Muted text on background5.65:1AA pass 4.5:1
Label on primary5.85:1AA pass 4.5:1
Label on accent11.05:1AAA pass 4.5:1
Primary on background3.29:1AA Large pass 3:1
Accent on background11.05: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#8B0000 (Text 1)#B22222 (Text 2)#87CEEB (Text 3)#B0E0E6 (Text 4)#F0F8FF (Text 5)
#8B0000Same color1.50—5.75AA6.98AA9.33AAA
#B222221.50—Same color3.83AA Large4.66AA6.22AA
#87CEEB5.75AA3.83AA LargeSame color1.22—1.62—
#B0E0E66.98AA4.66AA1.22—Same color1.34—
#F0F8FF9.33AAA6.22AA1.62—1.34—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#8B0000#B22222#87CEEB#B0E0E6#F0F8FF

Variations

About Red Blue

Red Blue brings together a dark red, a vivid red, a light blue, a light teal and an off-white (#8B0000, #B22222, #87CEEB, #B0E0E6, #F0F8FF) in a warm, red-led scheme. Vivid red #B22222 and light teal #B0E0E6 sit on nearly opposite sides of the wheel (179° apart), a complementary pairing that makes accents pop. With lightness between 40% and 98% and #87CEEB near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.098, medium for a palette, so the colors are clear without being loud; the most saturated color is #B22222. In light mode #F0F8FF becomes the background with #70322A text at 9.0:1, and #B22222 takes the primary role. Try it for sale banners, food and restaurant brands and calls to action, letting vivid red #B22222 carry the key actions.

Red Blue color palette: #8B0000, #B22222, #87CEEB, #B0E0E6, #F0F8FF
Share image for Red Blue

Gradients in similar colors