Skip to main content

#005F6A Petrol

#005F6A is Petrol.

#005F6A

Petrol

What are the RGB, HSL, OKLCH and CMYK values of #005F6A?

HEX
#005F6A
RGB
rgb(0, 95, 106)
HSL
hsl(186, 100%, 21%)
OKLCH
oklch(44.4% 0.076 208)
CMYK
100, 10, 0, 58

#005F6A has a contrast ratio of 7.38:1 against white and 2.85:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #005F6A
#005F6A
Same color
White
7.4AAA
Near-black
2.4Fail

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #005F6A · 7.4:1

Tints and shades of #005F6A

Same hue and chroma in OKLCH, lighter to darker.

  1. #E1FBFF
  2. #98E4F0
  3. #79C5D0
  4. #5BA6B2
  5. #3C8894
  6. #005F6A
  7. #004F59
  8. #00343A
  9. #001A1E

Colors that go with #005F6A

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Petrol, #005F6A and Deep Forest, #005C37; Cobalt, #003A93 and Medium Blue, #1300BC become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --petrol-1: #005F6A; /* Petrol */
}

Palettes, gradients and meshes with #005F6A

Items using this color or one perceptually close to it, closest first.

Palettes (21)

Gradients (2)

Mesh gradients (6)