#2F504C

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.5% 0.039 186), rgb(47, 80, 76).

Aa

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

About this color

#2F504C is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.039 and its hue 186°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.007 away. White text reads best on it, at 8.85:1.

Hue familyTeals and cyans
Lightnessdark (40%)
Chromamuted (0.039)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.37:1
White text8.85:1

Values

HEX#2F504C
RGBrgb(47, 80, 76)
HSLhsl(173, 26%, 25%)
OKLCHoklch(40.5% 0.039 186)

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 #2F504C 8.85:1 AAA Lc -94.6 Preferred for body text
Black text on #2F504C 2.37:1 Fails Lc 13.8 Not readable
#2F504C text on white 8.85:1 AAA Lc 90.2 Preferred for body text
#2F504C text on black 2.37:1 Fails Lc -12.1 Not readable

Tints and shades

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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEA

    oklch(93.5% 0.007 185.3)

  3. Step 200

    200

    #D0DCDA

    oklch(88.5% 0.013 185.1)

  4. Step 300

    300

    #B1C6C3

    oklch(81% 0.023 186.4)

  5. Step 400

    400

    #87A8A4

    oklch(70.6% 0.037 187.3)

  6. Step 500

    500

    #69938E

    oklch(63.1% 0.047 186.9)

  7. Step 600

    600

    #4F7D78

    oklch(55.5% 0.051 187.1)

  8. Step 700

    700

    #406A65

    oklch(49.2% 0.048 186.2)

  9. Step 800

    800 (this color)

    #2F504C

    oklch(40.5% 0.039 186)

  10. Step 900

    900

    #2F4744

    oklch(37.7% 0.03 186.3)

  11. Step 950

    950

    #1C2A28

    oklch(27.2% 0.019 185.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F504C 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)#4D4D4C0.042
Deuteranopia (no green cones)#47484C0.040
Tritanopia (no blue cones)#23514F0.012
Achromatopsia (no color)#4A4A4A0.040

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #2F504C

    #2F504C

    oklch(40.5% 0.039 186)

  • #5C4046

    #5C4046

    oklch(40.5% 0.04 4.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F504C

    #2F504C

    oklch(40.5% 0.039 186)

  • #374F40

    #374F40

    oklch(40.3% 0.039 156.8)

  • #2F4E57

    #2F4E57

    oklch(40.4% 0.04 218.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #2F504C

    #2F504C

    oklch(40.5% 0.039 186)

  • #574151

    #574151

    oklch(40.5% 0.039 336.4)

  • #5C413A

    #5C413A

    oklch(40.3% 0.04 35.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F504C

    #2F504C

    oklch(40.5% 0.039 186)

  • #4E445A

    #4E445A

    oklch(40.5% 0.038 305.4)

  • #584532

    #584532

    oklch(40.5% 0.04 66.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F504C

    #2F504C

    oklch(40.5% 0.039 186)

  • #43475E

    #43475E

    oklch(40.4% 0.039 276.8)

  • #5C4046

    #5C4046

    oklch(40.5% 0.04 4.9)

  • #4F4930

    #4F4930

    oklch(40.4% 0.04 96.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2F504C, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #2F504C 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.