#2A5045

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.9% 0.048 173.1), rgb(42, 80, 69).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (40%)
Chromamuted (0.048)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.33:1
White text9.00:1

Values

HEX#2A5045
RGBrgb(42, 80, 69)
HSLhsl(163, 31%, 24%)
OKLCHoklch(39.9% 0.048 173.1)

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 #2A5045 9.00:1 AAA Lc -95.0 Preferred for body text
Black text on #2A5045 2.33:1 Fails Lc 13.4 Not readable
#2A5045 text on white 9.00:1 AAA Lc 90.6 Preferred for body text
#2A5045 text on black 2.33:1 Fails Lc -11.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 900.

  1. Step 50

    50

    #F2F6F5

    oklch(97% 0.004 179.7)

  2. Step 100

    100

    #E3ECE9

    oklch(93.5% 0.01 174.3)

  3. Step 200

    200

    #CDDED8

    oklch(88.6% 0.02 172.7)

  4. Step 300

    300

    #AAC9BE

    oklch(81% 0.037 171.9)

  5. Step 400

    400

    #7BAD9D

    oklch(70.7% 0.058 172.7)

  6. Step 500

    500

    #579885

    oklch(63% 0.073 173)

  7. Step 600

    600

    #3A836F

    oklch(55.7% 0.08 172.8)

  8. Step 700

    700

    #2B6E5D

    oklch(49% 0.073 173.7)

  9. Step 800

    800

    #255A4C

    oklch(42.7% 0.061 173.4)

  10. Step 900

    900 (this color)

    #2A5045

    oklch(39.9% 0.048 173.1)

  11. Step 950

    950

    #162B25

    oklch(26.9% 0.03 173.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A5045 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)#4E4C450.050
Deuteranopia (no green cones)#4847460.048
Tritanopia (no blue cones)#1D514D0.015
Achromatopsia (no color)#4949490.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5045

    #2A5045

    oklch(39.9% 0.048 173.1)

  • #5C3D4A

    #5C3D4A

    oklch(40% 0.047 352.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5045

    #2A5045

    oklch(39.9% 0.048 173.1)

  • #384E37

    #384E37

    oklch(39.9% 0.047 143.6)

  • #244F53

    #244F53

    oklch(39.9% 0.048 203.5)

Open the analogous palette in the generator

Split complementary

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

  • #2A5045

    #2A5045

    oklch(39.9% 0.048 173.1)

  • #543F57

    #543F57

    oklch(40% 0.048 322.2)

  • #5F3D3B

    #5F3D3B

    oklch(39.9% 0.048 23.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5045

    #2A5045

    oklch(39.9% 0.048 173.1)

  • #48435F

    #48435F

    oklch(40% 0.047 292.3)

  • #5C402F

    #5C402F

    oklch(39.8% 0.048 52.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5045

    #2A5045

    oklch(39.9% 0.048 173.1)

  • #3A4762

    #3A4762

    oklch(39.8% 0.049 264.4)

  • #5C3D4A

    #5C3D4A

    oklch(40% 0.047 352.6)

  • #544529

    #544529

    oklch(39.9% 0.047 82.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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