#2A6171

Closest named color: Petrol (#005F6A). oklch(46.3% 0.063 219.7), rgb(42, 97, 113).

Aa

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

About this color

#2A6171 is a medium-dark, muted teal or cyan. In OKLCH its lightness is 46%, its chroma 0.063 and its hue 220°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.027 away. White text reads best on it, at 6.89:1.

Hue familyTeals and cyans
Lightnessmedium-dark (46%)
Chromamuted (0.063)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text3.04:1
White text6.89:1

Values

HEX#2A6171
RGBrgb(42, 97, 113)
HSLhsl(194, 46%, 30%)
OKLCHoklch(46.3% 0.063 219.7)

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 #2A6171 6.89:1 AA Lc -88.6 Fine for body text
Black text on #2A6171 3.04:1 AA large text Lc 20.4 Dividers and decoration only
#2A6171 text on white 6.89:1 AA Lc 83.6 Fine for body text
#2A6171 text on black 3.04:1 AA large text Lc -18.3 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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E4EBEE

    oklch(93.6% 0.009 225.1)

  3. Step 200

    200

    #CEDCE1

    oklch(88.5% 0.017 221.1)

  4. Step 300

    300

    #ACC6CE

    oklch(81% 0.03 218.3)

  5. Step 400

    400

    #7FA8B6

    oklch(70.7% 0.049 220.9)

  6. Step 500

    500

    #5D93A4

    oklch(63.2% 0.063 219.9)

  7. Step 600

    600

    #417D8F

    oklch(55.7% 0.068 219.7)

  8. Step 700

    700 (this color)

    #2A6171

    oklch(46.3% 0.063 219.7)

  9. Step 800

    800

    #2B5663

    oklch(42.8% 0.052 219.9)

  10. Step 900

    900

    #274750

    oklch(37.7% 0.041 217.9)

  11. Step 950

    950

    #18292F

    oklch(26.9% 0.025 222.2)

Export this scale for Tailwind in the Tailwind colors tool

#2A6171 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)#575E720.053
Deuteranopia (no green cones)#4D57710.047
Tritanopia (no blue cones)#0066660.034
Achromatopsia (no color)#5A5A5A0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6171

    #2A6171

    oklch(46.3% 0.063 219.7)

  • #774C3E

    #774C3E

    oklch(46.2% 0.063 38.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6171

    #2A6171

    oklch(46.3% 0.063 219.7)

  • #276460

    #276460

    oklch(46.2% 0.063 189.3)

  • #3D5B7B

    #3D5B7B

    oklch(46.2% 0.063 250.9)

Open the analogous palette in the generator

Split complementary

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

  • #2A6171

    #2A6171

    oklch(46.3% 0.063 219.7)

  • #774A51

    #774A51

    oklch(46.3% 0.062 9.6)

  • #705230

    #705230

    oklch(46.2% 0.063 68.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6171

    #2A6171

    oklch(46.3% 0.063 219.7)

  • #714B64

    #714B64

    oklch(46.4% 0.063 340.2)

  • #615A2E

    #615A2E

    oklch(46.4% 0.064 100.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6171

    #2A6171

    oklch(46.3% 0.063 219.7)

  • #634F73

    #634F73

    oklch(46.2% 0.062 309.4)

  • #774C3E

    #774C3E

    oklch(46.2% 0.063 38.8)

  • #4D603A

    #4D603A

    oklch(46.3% 0.063 130.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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