Export

Code

/* Petrol Cyan — colorset.net */
:root {
  --color-1: #164E63;
  --color-2: #0E7490;
  --color-3: #0891B2;
  --color-4: #06B6D4;
  --color-5: #22D3EE;

  --color-bg: #E8FBFF;
  --color-surface: #DFF1F5;
  --color-border: #C3DADE;
  --color-text: #164E63;
  --color-muted: #516E7B;
  --color-primary: #00819F;
  --color-on-primary: #FFFFFF;
  --color-accent: #004D60;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #031218;
    --color-surface: #0B1C23;
    --color-border: #1C313A;
    --color-text: #98C6CF;
    --color-muted: #66888F;
    --color-primary: #00819F;
    --color-on-primary: #FFFFFF;
    --color-accent: #22D3EE;
    --color-on-accent: #031218;
  }
}

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 #22D3EEadjusted for contrast · from #164E63
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #22D3EE
Muted textderivedderived
Primaryadjusted for contrast · from #0E7490adjusted for contrast · from #0E7490
On primaryderivedderived
Accentadjusted for contrast · from #164E63from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background8.54:1AAA pass 4.5:1
Text on surface7.83:1AAA pass 4.5:1
Muted text on background5.09:1AA pass 4.5:1
Label on primary4.53:1AA pass 4.5:1
Label on accent9.42:1AAA pass 4.5:1
Primary on background4.24:1AA Large pass 3:1
Accent on background8.82:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background10.25:1AAA pass 4.5:1
Text on surface9.39:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary4.53:1AA pass 4.5:1
Label on accent10.53:1AAA pass 4.5:1
Primary on background4.21:1AA Large pass 3:1
Accent on background10.53: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#164E63 (Text 1)#0E7490 (Text 2)#0891B2 (Text 3)#06B6D4 (Text 4)#22D3EE (Text 5)
#164E63Same color1.70—2.48—3.75AA Large5.04AA
#0E74901.70—Same color1.46—2.21—2.96—
#0891B22.48—1.46—Same color1.52—2.04—
#06B6D43.75AA Large2.21—1.52—Same color1.34—
#22D3EE5.04AA2.96—2.04—1.34—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#164E63#0E7490#0891B2#06B6D4#22D3EE

Variations

About Petrol Cyan

No single hue dominates Petrol Cyan: blue carries about 54% of the color weight, shared with teal, and blue #0891B2 sits in the middle of the range. With a hue spread of just 16°, it is effectively monochromatic: #164E63, #0E7490 and #0891B2 differ mostly in lightness. Lightness spans 40% (#164E63) to 80% (#22D3EE), a moderate range; text roles may need slight darkening for full contrast. Saturation is medium (mean OKLCH chroma 0.106, peaking at 0.134 in #22D3EE); the colors are clear without being loud. Text contrast reaches 8.5:1 in light mode and 10.3:1 in dark mode, with #00819F as primary and #004D60 as accent. Try it for minimal branding, focused single-product sites and typography-led layouts, letting blue #0891B2 carry the key actions.

Petrol Cyan color palette: #164E63, #0E7490, #0891B2, #06B6D4, #22D3EE
Share image for Petrol Cyan

Gradients in similar colors