Export

Code

/* Cobalt Dark — colorset.net */
:root {
  --color-1: #002D62;
  --color-2: #003F87;
  --color-3: #004D99;
  --color-4: #0066CC;
  --color-5: #1E90FF;

  --color-bg: #F1F7FF;
  --color-surface: #E4EFFB;
  --color-border: #CAD6E5;
  --color-text: #0A2E5B;
  --color-muted: #5C6C82;
  --color-primary: #0075D7;
  --color-on-primary: #FFFFFF;
  --color-accent: #003F87;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #05101E;
    --color-surface: #0E1A29;
    --color-border: #202F42;
    --color-text: #90A8C4;
    --color-muted: #73859B;
    --color-primary: #1E90FF;
    --color-on-primary: #05101E;
    --color-accent: #3D68A3;
    --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 #1E90FFadjusted for contrast · from #002D62
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #002D62adjusted for contrast · from #1E90FF
Muted textderivedderived
Primaryadjusted for contrast · from #0066CCfrom palette · color 5
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #0066CC
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background12.53:1AAA pass 4.5:1
Text on surface11.60:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary4.64:1AA pass 4.5:1
Label on accent10.19:1AAA pass 4.5:1
Primary on background4.31:1AA Large pass 3:1
Accent on background9.46:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.81:1AAA pass 4.5:1
Text on surface7.16:1AAA pass 4.5:1
Muted text on background5.06:1AA pass 4.5:1
Label on primary5.90:1AA pass 4.5:1
Label on accent5.66:1AA pass 4.5:1
Primary on background5.90:1AA pass 3:1
Accent on background3.37: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#002D62 (Text 1)#003F87 (Text 2)#004D99 (Text 3)#0066CC (Text 4)#1E90FF (Text 5)
#002D62Same color1.33—1.62—2.43—4.18AA Large
#003F871.33—Same color1.22—1.83—3.15AA Large
#004D991.62—1.22—Same color1.50—2.57—
#0066CC2.43—1.83—1.50—Same color1.72—
#1E90FF4.18AA Large3.15AA Large2.57—1.72—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#002D62#003F87#004D99#0066CC#1E90FF

Variations

About Cobalt Dark

Nearly all of the color weight in Cobalt Dark sits in blue, which makes it a cool palette anchored by dark blue #004D99. With a hue spread of just 4°, it is effectively monochromatic: #002D62, #003F87 and #004D99 differ mostly in lightness. Lightness spans 30% (#002D62) to 65% (#1E90FF), a moderate range; text roles may need slight darkening for full contrast. Saturation is medium (mean OKLCH chroma 0.149, peaking at 0.190 in #1E90FF); the colors are clear without being loud. As a UI theme it uses #0075D7 for primary actions and #003F87 as the accent; dark mode sits on #05101E with #90A8C4 text (7.8:1). With #1E90FF leading, good fits include minimal branding, focused single-product sites and typography-led layouts.

These colors are almost the same as Ink Blue.

Cobalt Dark color palette: #002D62, #003F87, #004D99, #0066CC, #1E90FF
Share image for Cobalt Dark

Gradients in similar colors