#2F7871

Closest named color: Bluegreen (#017A79). oklch(52.5% 0.073 186.5), rgb(47, 120, 113).

Aa

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

About this color

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

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

Values

HEX#2F7871
RGBrgb(47, 120, 113)
HSLhsl(174, 44%, 33%)
OKLCHoklch(52.5% 0.073 186.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 #2F7871 5.19:1 AA Lc -80.9 Fine for body text
Black text on #2F7871 4.04:1 AA large text Lc 28.6 Dividers and decoration only
#2F7871 text on white 5.19:1 AA Lc 75.5 Fine for body text
#2F7871 text on black 4.04:1 AA large text Lc -26.2 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

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E3ECEB

    oklch(93.6% 0.01 189.1)

  3. Step 200

    200

    #CCDDDB

    oklch(88.4% 0.018 188.3)

  4. Step 300

    300

    #AAC8C4

    oklch(80.9% 0.033 186.7)

  5. Step 400

    400

    #7BACA6

    oklch(70.8% 0.053 186.6)

  6. Step 500

    500

    #579790

    oklch(63.1% 0.067 186.6)

  7. Step 600

    600 (this color)

    #2F7871

    oklch(52.5% 0.073 186.5)

  8. Step 700

    700

    #2B6D67

    oklch(49.1% 0.067 187)

  9. Step 800

    800

    #255954

    oklch(42.7% 0.056 186.8)

  10. Step 900

    900

    #244945

    oklch(37.7% 0.043 186.5)

  11. Step 950

    950

    #162B29

    oklch(27.1% 0.027 187.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F7871 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)#7272710.077
Deuteranopia (no green cones)#6769720.074
Tritanopia (no blue cones)#007B760.019
Achromatopsia (no color)#6D6D6D0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7871

    #2F7871

    oklch(52.5% 0.073 186.5)

  • #8E5863

    #8E5863

    oklch(52.4% 0.073 6.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7871

    #2F7871

    oklch(52.5% 0.073 186.5)

  • #457759

    #457759

    oklch(52.5% 0.072 156.5)

  • #307586

    #307586

    oklch(52.6% 0.073 216.7)

Open the analogous palette in the generator

Split complementary

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

  • #2F7871

    #2F7871

    oklch(52.5% 0.073 186.5)

  • #855A7A

    #855A7A

    oklch(52.5% 0.072 336.3)

  • #8F5B4C

    #8F5B4C

    oklch(52.5% 0.073 36.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7871

    #2F7871

    oklch(52.5% 0.073 186.5)

  • #755F8C

    #755F8C

    oklch(52.5% 0.074 306.4)

  • #87623B

    #87623B

    oklch(52.6% 0.073 66.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7871

    #2F7871

    oklch(52.5% 0.073 186.5)

  • #5F6794

    #5F6794

    oklch(52.6% 0.072 275.9)

  • #8E5863

    #8E5863

    oklch(52.4% 0.073 6.6)

  • #766A37

    #766A37

    oklch(52.4% 0.072 96.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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