#2F796D

Closest named color: Bluegreen (#017A79). oklch(52.6% 0.076 180.8), rgb(47, 121, 109).

Aa

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

About this color

#2F796D is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 53%, its chroma 0.076 and its hue 181°. Its hue sits on the cool side of the wheel. The nearest named color is Bluegreen (#017A79), ΔE 0.023 away. White text reads best on it, at 5.15:1.

Hue familyTeals and cyans
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameBluegreen (#017A79)
Black text4.07:1
White text5.15:1

Values

HEX#2F796D
RGBrgb(47, 121, 109)
HSLhsl(170, 44%, 33%)
OKLCHoklch(52.6% 0.076 180.8)

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 #2F796D 5.15:1 AA Lc -80.6 Fine for body text
Black text on #2F796D 4.07:1 AA large text Lc 28.8 Dividers and decoration only
#2F796D text on white 5.15:1 AA Lc 75.3 Fine for body text
#2F796D text on black 4.07:1 AA large text Lc -26.5 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F2F6F5

    oklch(97% 0.004 179.7)

  2. Step 100

    100

    #E3ECEA

    oklch(93.6% 0.01 181.4)

  3. Step 200

    200

    #CCDDDA

    oklch(88.4% 0.019 184.2)

  4. Step 300

    300

    #AAC8C2

    oklch(80.9% 0.033 182)

  5. Step 400

    400

    #7BACA2

    oklch(70.7% 0.054 180.6)

  6. Step 500

    500

    #57988C

    oklch(63.3% 0.07 180.7)

  7. Step 600

    600 (this color)

    #2F796D

    oklch(52.6% 0.076 180.8)

  8. Step 700

    700

    #2A6E63

    oklch(49.2% 0.071 180.9)

  9. Step 800

    800

    #255951

    oklch(42.6% 0.057 182)

  10. Step 900

    900

    #234A43

    oklch(37.8% 0.046 180.6)

  11. Step 950

    950

    #162B27

    oklch(27% 0.028 180.5)

Export this scale for Tailwind in the Tailwind colors tool

#2F796D 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)#74726D0.081
Deuteranopia (no green cones)#696A6E0.076
Tritanopia (no blue cones)#007B750.019
Achromatopsia (no color)#6D6D6D0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F796D

    #2F796D

    oklch(52.6% 0.076 180.8)

  • #8F5868

    #8F5868

    oklch(52.7% 0.075 1.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F796D

    #2F796D

    oklch(52.6% 0.076 180.8)

  • #497754

    #497754

    oklch(52.6% 0.075 150.8)

  • #2A7683

    #2A7683

    oklch(52.5% 0.076 210.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F796D

    #2F796D

    oklch(52.6% 0.076 180.8)

  • #845A7F

    #845A7F

    oklch(52.5% 0.076 330.8)

  • #915A50

    #915A50

    oklch(52.6% 0.075 30.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F796D

    #2F796D

    oklch(52.6% 0.076 180.8)

  • #726090

    #726090

    oklch(52.6% 0.077 301)

  • #8B603C

    #8B603C

    oklch(52.6% 0.076 60)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F796D

    #2F796D

    oklch(52.6% 0.076 180.8)

  • #5A6897

    #5A6897

    oklch(52.6% 0.076 270.9)

  • #8F5868

    #8F5868

    oklch(52.7% 0.075 1.2)

  • #7B6934

    #7B6934

    oklch(52.6% 0.075 90.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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