#2A7862

Closest named color: Bluegreen (#017A79). oklch(51.9% 0.084 171), rgb(42, 120, 98).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameBluegreen (#017A79)
Black text3.96:1
White text5.30:1

Values

HEX#2A7862
RGBrgb(42, 120, 98)
HSLhsl(163, 48%, 32%)
OKLCHoklch(51.9% 0.084 171)

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 #2A7862 5.30:1 AA Lc -81.5 Fine for body text
Black text on #2A7862 3.96:1 AA large text Lc 28.0 Dividers and decoration only
#2A7862 text on white 5.30:1 AA Lc 76.1 Fine for body text
#2A7862 text on black 3.96:1 AA large text Lc -25.6 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 700.

  1. Step 50

    50

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E3ECE9

    oklch(93.5% 0.01 174.3)

  3. Step 200

    200

    #CBDED7

    oklch(88.4% 0.022 171.7)

  4. Step 300

    300

    #A7CABD

    oklch(81% 0.042 170.7)

  5. Step 400

    400

    #76AE9B

    oklch(70.6% 0.065 171.1)

  6. Step 500

    500

    #509A83

    oklch(63.2% 0.083 171.1)

  7. Step 600

    600

    #2F846C

    oklch(55.5% 0.09 171)

  8. Step 700

    700 (this color)

    #2A7862

    oklch(51.9% 0.084 171)

  9. Step 800

    800

    #1D5B4A

    oklch(42.6% 0.069 171.5)

  10. Step 900

    900

    #1F4B3E

    oklch(37.7% 0.054 171.4)

  11. Step 950

    950

    #132C24

    oklch(27% 0.035 170.7)

Export this scale for Tailwind in the Tailwind colors tool

#2A7862 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)#7470610.086
Deuteranopia (no green cones)#6968640.083
Tritanopia (no blue cones)#0079720.026
Achromatopsia (no color)#6B6B6B0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7862

    #2A7862

    oklch(51.9% 0.084 171)

  • #8D546E

    #8D546E

    oklch(51.9% 0.083 351.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7862

    #2A7862

    oklch(51.9% 0.084 171)

  • #4D7546

    #4D7546

    oklch(52% 0.085 140.8)

  • #13777C

    #13777C

    oklch(52% 0.084 200.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A7862

    #2A7862

    oklch(51.9% 0.084 171)

  • #7F5886

    #7F5886

    oklch(51.9% 0.084 321.3)

  • #935453

    #935453

    oklch(51.9% 0.084 21.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7862

    #2A7862

    oklch(51.9% 0.084 171)

  • #696095

    #696095

    oklch(52% 0.083 291)

  • #8F5A3A

    #8F5A3A

    oklch(51.9% 0.084 51.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7862

    #2A7862

    oklch(51.9% 0.084 171)

  • #4D6899

    #4D6899

    oklch(51.8% 0.084 261.8)

  • #8D546E

    #8D546E

    oklch(51.9% 0.083 351.5)

  • #81632A

    #81632A

    oklch(51.8% 0.084 81)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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