#2A5252

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.9% 0.045 195.5), rgb(42, 82, 82).

Aa

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

About this color

#2A5252 is a dark, muted teal or cyan. In OKLCH its lightness is 41%, its chroma 0.045 and its hue 196°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.010 away. White text reads best on it, at 8.65:1.

Hue familyTeals and cyans
Lightnessdark (41%)
Chromamuted (0.045)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.42:1
White text8.65:1

Values

HEX#2A5252
RGBrgb(42, 82, 82)
HSLhsl(180, 32%, 24%)
OKLCHoklch(40.9% 0.045 195.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 #2A5252 8.65:1 AAA Lc -94.1 Preferred for body text
Black text on #2A5252 2.42:1 Fails Lc 14.4 Not readable
#2A5252 text on white 8.65:1 AAA Lc 89.6 Fine for body text
#2A5252 text on black 2.42:1 Fails Lc -12.7 Not readable

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 800.

  1. Step 50

    50

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E4EBEB

    oklch(93.5% 0.007 197)

  3. Step 200

    200

    #CFDCDC

    oklch(88.5% 0.014 196.9)

  4. Step 300

    300

    #AEC6C6

    oklch(80.9% 0.026 196.6)

  5. Step 400

    400

    #82A9A9

    oklch(70.6% 0.042 196.2)

  6. Step 500

    500

    #629494

    oklch(63.1% 0.054 195.9)

  7. Step 600

    600

    #477E7E

    oklch(55.5% 0.058 195.6)

  8. Step 700

    700

    #386B6B

    oklch(49.2% 0.055 195.5)

  9. Step 800

    800 (this color)

    #2A5252

    oklch(40.9% 0.045 195.5)

  10. Step 900

    900

    #2A4847

    oklch(37.8% 0.036 193)

  11. Step 950

    950

    #192A2A

    oklch(27% 0.023 195.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A5252 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)#4D4F520.046
Deuteranopia (no green cones)#4649520.044
Tritanopia (no blue cones)#1554520.017
Achromatopsia (no color)#4C4C4C0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5252

    #2A5252

    oklch(40.9% 0.045 195.5)

  • #604042

    #604042

    oklch(40.9% 0.045 15.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5252

    #2A5252

    oklch(40.9% 0.045 195.5)

  • #325244

    #325244

    oklch(40.9% 0.045 164.9)

  • #2E505D

    #2E505D

    oklch(41.1% 0.045 224.5)

Open the analogous palette in the generator

Split complementary

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

  • #2A5252

    #2A5252

    oklch(40.9% 0.045 195.5)

  • #5C4050

    #5C4050

    oklch(40.8% 0.046 344.1)

  • #5F4336

    #5F4336

    oklch(41% 0.044 45.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5252

    #2A5252

    oklch(40.9% 0.045 195.5)

  • #54435B

    #54435B

    oklch(41% 0.045 316)

  • #59472E

    #59472E

    oklch(41% 0.045 75.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5252

    #2A5252

    oklch(40.9% 0.045 195.5)

  • #484762

    #484762

    oklch(41% 0.045 285.9)

  • #604042

    #604042

    oklch(40.9% 0.045 15.1)

  • #4D4C2F

    #4D4C2F

    oklch(41% 0.045 106.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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