Petrol #005F6A

Petrol is a dark, moderately saturated teal or cyan with hex code #005F6A and RGB rgb(0, 95, 106).

Aa

White text reads best on this color (7.38:1).

About this color

#005F6A is a dark, moderately saturated teal or cyan. In OKLCH its lightness is 44%, its chroma 0.076 and its hue 208°. Its hue sits on the cool side of the wheel. It is the named color Petrol. White text reads best on it, at 7.38:1.

Hue familyTeals and cyans
Lightnessdark (44%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest namePetrol
Black text2.84:1
White text7.38:1

Colors that go with Petrol

Matches found by rotating Petrol around the OKLCH hue wheel, each labelled with the closest name in our list.

Color palettes with Petrol

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Petrol, closest first.

Similar named colors

The eight named colors closest to Petrol, with their ΔE distance.

More about Petrol

How to make Petrol

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 3 parts blue
  • 1 part orange

Recipe result: #1B5C68, a difference of ΔE 0.012 from Petrol. That is very close: most people will not see the difference.

What colors make teal or cyan? | Color mixing chart

Codes for Petrol in every format

HEX#005F6A
RGBrgb(0, 95, 106)
HSLhsl(186, 100%, 21%)
OKLCHoklch(44.4% 0.076 208.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #005F6A 7.38:1 AAA Lc -90.0 Preferred for body text
Black text on #005F6A 2.84:1 Fails Lc 18.9 Dividers and decoration only
#005F6A text on white 7.38:1 AAA Lc 85.1 Fine for body text
#005F6A text on black 2.84:1 Fails Lc -16.9 Dividers and decoration only

Shades and tints of Petrol

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F1F7F7

    oklch(97.2% 0.006 197.1)

  2. Step 100

    100

    #E1ECEE

    oklch(93.5% 0.012 209.8)

  3. Step 200

    200

    #C7DEE2

    oklch(88.5% 0.025 209.3)

  4. Step 300

    300

    #A0C9D0

    oklch(80.9% 0.044 209.1)

  5. Step 400

    400

    #68ADB8

    oklch(70.6% 0.071 208.6)

  6. Step 500

    500

    #3699A7

    oklch(63.2% 0.092 208.4)

  7. Step 600

    600

    #008291

    oklch(55.5% 0.096 208.9)

  8. Step 700

    700

    #006E7A

    oklch(49.2% 0.085 207.9)

  9. Step 800

    800 (this color)

    #005F6A

    oklch(44.4% 0.076 208.5)

  10. Step 900

    900

    #0D4A52

    oklch(37.6% 0.06 208.3)

  11. Step 950

    950

    #0B2B30

    oklch(26.8% 0.038 209.5)

Export this scale for Tailwind in the Tailwind colors tool

Petrol with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#555B6B0.073
Deuteranopia (no green cones)#48526A0.065
Tritanopia (no blue cones)#0064620.024
Achromatopsia (no color)#5656560.077

Use Petrol in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.