#2A5152

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.7% 0.044 197.7), rgb(42, 81, 82).

Aa

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

About this color

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

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

Values

HEX#2A5152
RGBrgb(42, 81, 82)
HSLhsl(182, 32%, 24%)
OKLCHoklch(40.7% 0.044 197.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 #2A5152 8.76:1 AAA Lc -94.4 Preferred for body text
Black text on #2A5152 2.39:1 Fails Lc 14.1 Not readable
#2A5152 text on white 8.76:1 AAA Lc 89.9 Fine for body text
#2A5152 text on black 2.39:1 Fails Lc -12.4 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

    #83A9AA

    oklch(70.7% 0.041 198.3)

  6. Step 500

    500

    #629495

    oklch(63.2% 0.054 197.5)

  7. Step 600

    600

    #487E7F

    oklch(55.6% 0.058 197.2)

  8. Step 700

    700

    #396A6B

    oklch(49% 0.053 197.3)

  9. Step 800

    800 (this color)

    #2A5152

    oklch(40.7% 0.044 197.7)

  10. Step 900

    900

    #2B4748

    oklch(37.6% 0.034 198.7)

  11. Step 950

    950

    #192A2A

    oklch(27% 0.023 195.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A5152 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)#4C4E520.045
Deuteranopia (no green cones)#4549520.041
Tritanopia (no blue cones)#1553510.018
Achromatopsia (no color)#4B4B4B0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5152

    #2A5152

    oklch(40.7% 0.044 197.7)

  • #5F4040

    #5F4040

    oklch(40.7% 0.044 19.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5152

    #2A5152

    oklch(40.7% 0.044 197.7)

  • #315145

    #315145

    oklch(40.6% 0.043 168.5)

  • #2E4E5C

    #2E4E5C

    oklch(40.5% 0.044 227.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A5152

    #2A5152

    oklch(40.7% 0.044 197.7)

  • #5C404E

    #5C404E

    oklch(40.8% 0.044 347.8)

  • #5E4235

    #5E4235

    oklch(40.7% 0.045 45.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5152

    #2A5152

    oklch(40.7% 0.044 197.7)

  • #544259

    #544259

    oklch(40.7% 0.044 318.8)

  • #57472E

    #57472E

    oklch(40.8% 0.044 78.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5152

    #2A5152

    oklch(40.7% 0.044 197.7)

  • #484660

    #484660

    oklch(40.7% 0.043 287.8)

  • #5F4040

    #5F4040

    oklch(40.7% 0.044 19.1)

  • #4C4B2F

    #4C4B2F

    oklch(40.6% 0.043 106.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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