Export

Code

/* Blue Electric — colorset.net */
:root {
  --color-1: #1E1B4B;
  --color-2: #312E81;
  --color-3: #3730A3;
  --color-4: #4338CA;
  --color-5: #4F46E5;

  --color-bg: #F4F6FF;
  --color-surface: #EAEDFB;
  --color-border: #D0D4E6;
  --color-text: #1E1B4B;
  --color-muted: #676983;
  --color-primary: #4F46E5;
  --color-on-primary: #FFFFFF;
  --color-accent: #312E81;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0D0D1E;
    --color-surface: #171729;
    --color-border: #2A2B41;
    --color-text: #9CA3C5;
    --color-muted: #7C819B;
    --color-primary: #544DEC;
    --color-on-primary: #FFFFFF;
    --color-accent: #606299;
    --color-on-accent: #FFFFFF;
  }
}

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
Backgroundadjusted for contrast · from #4F46E5adjusted for contrast · from #1E1B4B
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #4F46E5
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #4F46E5
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #4338CA
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.82:1AAA pass 4.5:1
Text on surface13.71:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary6.29:1AA pass 4.5:1
Label on accent11.42:1AAA pass 4.5:1
Primary on background5.83:1AA pass 3:1
Accent on background10.59:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.74:1AAA pass 4.5:1
Text on surface7.10:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary5.75:1AA pass 4.5:1
Label on accent5.67:1AA pass 4.5:1
Primary on background3.34:1AA Large pass 3:1
Accent on background3.39:1AA Large 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#1E1B4B (Text 1)#312E81 (Text 2)#3730A3 (Text 3)#4338CA (Text 4)#4F46E5 (Text 5)
#1E1B4BSame color1.40—1.61—2.02—2.54—
#312E811.40—Same color1.15—1.45—1.82—
#3730A31.61—1.15—Same color1.26—1.58—
#4338CA2.02—1.45—1.26—Same color1.26—
#4F46E52.54—1.82—1.58—1.26—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1E1B4B#312E81#3730A3#4338CA#4F46E5

Variations

About Blue Electric

About 69% of the color weight in Blue Electric sits in blue, which makes it a cool palette anchored by dark blue #3730A3. With a hue spread of just 4°, it is effectively monochromatic: #1E1B4B, #312E81 and #3730A3 differ mostly in lightness. All five colors stay in a narrow dark band (26% to 51% lightness, #1E1B4B to #4F46E5), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.169, peaking at 0.230 in #4F46E5); the colors feel saturated and energetic. Text contrast reaches 14.8:1 in light mode and 7.7:1 in dark mode, with #4F46E5 as primary and #312E81 as accent. Try it for posters, sports and fitness apps and festival branding, letting vivid blue #4F46E5 carry the key actions.

Blue Electric color palette: #1E1B4B, #312E81, #3730A3, #4338CA, #4F46E5
Share image for Blue Electric

Gradients in similar colors