Export

Code

/* Electric Cobalt — colorset.net */
:root {
  --color-1: #000051;
  --color-2: #000080;
  --color-3: #0000FF;
  --color-4: #4169E1;
  --color-5: #6495ED;

  --color-bg: #F2F7FF;
  --color-surface: #E6EEFB;
  --color-border: #CCD5E6;
  --color-text: #020F3D;
  --color-muted: #5E6A82;
  --color-primary: #0000FF;
  --color-on-primary: #FFFFFF;
  --color-accent: #4473C8;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #080F1F;
    --color-surface: #11192A;
    --color-border: #242E42;
    --color-text: #95A7C6;
    --color-muted: #76849C;
    --color-primary: #1653FF;
    --color-on-primary: #FFFFFF;
    --color-accent: #3F63B5;
    --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 #6495EDadjusted for contrast · from #000051
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #000051adjusted for contrast · from #6495ED
Muted textderivedderived
Primaryfrom palette · color 3adjusted for contrast · from #4169E1
On primaryderivedderived
Accentadjusted for contrast · from #4169E1adjusted for contrast · from #4169E1
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background17.15:1AAA pass 4.5:1
Text on surface15.80:1AAA pass 4.5:1
Muted text on background5.06:1AA pass 4.5:1
Label on primary8.59:1AAA pass 4.5:1
Label on accent4.63:1AA pass 4.5:1
Primary on background7.99:1AAA pass 3:1
Accent on background4.31:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.85:1AAA pass 4.5:1
Text on surface7.21:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary5.65:1AA pass 4.5:1
Label on accent5.73:1AA pass 4.5:1
Primary on background3.38:1AA Large pass 3:1
Accent on background3.34: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#000051 (Text 1)#000080 (Text 2)#0000FF (Text 3)#4169E1 (Text 4)#6495ED (Text 5)
#000051Same color1.17—2.18—3.87AA Large6.31AA
#0000801.17—Same color1.86—3.30AA Large5.39AA
#0000FF2.18—1.86—Same color1.77—2.89—
#4169E13.87AA Large3.30AA Large1.77—Same color1.63—
#6495ED6.31AA5.39AA2.89—1.63—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#000051#000080#0000FF#4169E1#6495ED

Variations

About Electric Cobalt

Nearly all of the color weight in Electric Cobalt sits in blue, which makes it a cool palette anchored by vivid blue #0000FF. With a hue spread of just 5°, it is effectively monochromatic: #000051, #000080 and #0000FF differ mostly in lightness. Lightness spans 20% (#000051) to 67% (#6495ED), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.193, peaking at 0.313 in #0000FF); the colors feel saturated and energetic. Text contrast reaches 17.2:1 in light mode and 7.8:1 in dark mode, with #0000FF as primary and #4473C8 as accent. Its vivid and monochrome character, led by #0000FF, suits fintech and banking apps, SaaS dashboards and minimal branding.

Electric Cobalt color palette: #000051, #000080, #0000FF, #4169E1, #6495ED
Share image for Electric Cobalt

Gradients in similar colors