#2F7E8B

Closest named color: Ocean (#017B92). oklch(55.1% 0.078 210.2), rgb(47, 126, 139).

Aa

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

About this color

#2F7E8B is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 55%, its chroma 0.078 and its hue 210°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean (#017B92), ΔE 0.024 away. White text reads best on it, at 4.68:1.

Hue familyTeals and cyans
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameOcean (#017B92)
Black text4.47:1
White text4.68:1

Values

HEX#2F7E8B
RGBrgb(47, 126, 139)
HSLhsl(188, 49%, 36%)
OKLCHoklch(55.1% 0.078 210.2)

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 #2F7E8B 4.68:1 AA Lc -77.8 Fine for body text
Black text on #2F7E8B 4.47:1 AA large text Lc 31.8 Non-text elements, placeholder text
#2F7E8B text on white 4.68:1 AA Lc 72.3 Content text, not long reading
#2F7E8B text on black 4.47:1 AA large text Lc -29.4 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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E3ECEE

    oklch(93.7% 0.01 212.5)

  3. Step 200

    200

    #CBDDE0

    oklch(88.5% 0.02 208.8)

  4. Step 300

    300

    #A7C7CD

    oklch(80.8% 0.035 210.2)

  5. Step 400

    400

    #77ABB4

    oklch(70.8% 0.056 209.4)

  6. Step 500

    500

    #5195A2

    oklch(63% 0.072 211.4)

  7. Step 600

    600 (this color)

    #2F7E8B

    oklch(55.1% 0.078 210.2)

  8. Step 700

    700

    #226C78

    oklch(49.2% 0.073 210.4)

  9. Step 800

    800

    #1F5861

    oklch(42.7% 0.06 209.6)

  10. Step 900

    900

    #20484F

    oklch(37.6% 0.046 210.4)

  11. Step 950

    950

    #142A2E

    oklch(26.9% 0.029 210.5)

Export this scale for Tailwind in the Tailwind colors tool

#2F7E8B 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)#737A8C0.074
Deuteranopia (no green cones)#65708B0.066
Tritanopia (no blue cones)#0084820.031
Achromatopsia (no color)#7474740.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7E8B

    #2F7E8B

    oklch(55.1% 0.078 210.2)

  • #9A6056

    #9A6056

    oklch(55% 0.078 30.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7E8B

    #2F7E8B

    oklch(55.1% 0.078 210.2)

  • #348174

    #348174

    oklch(55.2% 0.078 180.4)

  • #44789B

    #44789B

    oklch(55.1% 0.078 239.7)

Open the analogous palette in the generator

Split complementary

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

  • #2F7E8B

    #2F7E8B

    oklch(55.1% 0.078 210.2)

  • #975E70

    #975E70

    oklch(55% 0.078 359.6)

  • #936741

    #936741

    oklch(55.1% 0.078 61)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7E8B

    #2F7E8B

    oklch(55.1% 0.078 210.2)

  • #8C6187

    #8C6187

    oklch(55.1% 0.077 330.7)

  • #837039

    #837039

    oklch(55.1% 0.078 90.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7E8B

    #2F7E8B

    oklch(55.1% 0.078 210.2)

  • #796799

    #796799

    oklch(55.1% 0.079 300.4)

  • #9A6056

    #9A6056

    oklch(55% 0.078 30.4)

  • #6C7943

    #6C7943

    oklch(55.2% 0.078 120.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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