#2F7A8D

Closest named color: Ocean (#017B92). oklch(54.1% 0.078 217.5), rgb(47, 122, 141).

Aa

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

About this color

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

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

Values

HEX#2F7A8D
RGBrgb(47, 122, 141)
HSLhsl(192, 50%, 37%)
OKLCHoklch(54.1% 0.078 217.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 #2F7A8D 4.89:1 AA Lc -79.1 Fine for body text
Black text on #2F7A8D 4.28:1 AA large text Lc 30.4 Non-text elements, placeholder text
#2F7A8D text on white 4.89:1 AA Lc 73.7 Content text, not long reading
#2F7A8D text on black 4.28:1 AA large text Lc -28.0 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

    #CCDDE2

    oklch(88.6% 0.02 217.2)

  4. Step 300

    300

    #A8C7D0

    oklch(81% 0.036 217.2)

  5. Step 400

    400

    #78AAB8

    oklch(70.8% 0.057 217.1)

  6. Step 500

    500

    #5394A6

    oklch(63% 0.072 217.8)

  7. Step 600

    600 (this color)

    #2F7A8D

    oklch(54.1% 0.078 217.5)

  8. Step 700

    700

    #266B7C

    oklch(49.2% 0.073 217.2)

  9. Step 800

    800

    #215765

    oklch(42.7% 0.061 217.8)

  10. Step 900

    900

    #214852

    oklch(37.8% 0.047 216.7)

  11. Step 950

    950

    #142A30

    oklch(27% 0.03 217.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F7A8D 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)#6E768E0.069
Deuteranopia (no green cones)#606D8D0.060
Tritanopia (no blue cones)#0081800.039
Achromatopsia (no color)#7171710.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7A8D

    #2F7A8D

    oklch(54.1% 0.078 217.5)

  • #965F4E

    #965F4E

    oklch(54.2% 0.077 37.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7A8D

    #2F7A8D

    oklch(54.1% 0.078 217.5)

  • #2C7E77

    #2C7E77

    oklch(54.2% 0.079 187.2)

  • #48739A

    #48739A

    oklch(54.1% 0.078 247.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F7A8D

    #2F7A8D

    oklch(54.1% 0.078 217.5)

  • #965B67

    #965B67

    oklch(54.1% 0.079 6.9)

  • #8D663B

    #8D663B

    oklch(54.1% 0.078 67.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7A8D

    #2F7A8D

    oklch(54.1% 0.078 217.5)

  • #8D5D7F

    #8D5D7F

    oklch(54.2% 0.078 338)

  • #7B6F36

    #7B6F36

    oklch(54% 0.078 97.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7A8D

    #2F7A8D

    oklch(54.1% 0.078 217.5)

  • #7B6393

    #7B6393

    oklch(54.2% 0.078 306.8)

  • #965F4E

    #965F4E

    oklch(54.2% 0.077 37.9)

  • #627845

    #627845

    oklch(54.2% 0.079 127.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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