#2A5142

Closest named color: Dark Blue Green (#005249). oklch(40.1% 0.052 166.9), rgb(42, 81, 66).

Aa

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

About this color

#2A5142 is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.052 and its hue 167°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Blue Green (#005249), ΔE 0.026 away. White text reads best on it, at 8.92:1.

Hue familyGreens
Lightnessdark (40%)
Chromamuted (0.052)
Temperaturein between
Nearest nameDark Blue Green (#005249)
Black text2.35:1
White text8.92:1

Values

HEX#2A5142
RGBrgb(42, 81, 66)
HSLhsl(157, 32%, 24%)
OKLCHoklch(40.1% 0.052 166.9)

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 #2A5142 8.92:1 AAA Lc -94.8 Preferred for body text
Black text on #2A5142 2.35:1 Fails Lc 13.6 Not readable
#2A5142 text on white 8.92:1 AAA Lc 90.3 Preferred for body text
#2A5142 text on black 2.35:1 Fails Lc -11.9 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

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E3ECE8

    oklch(93.5% 0.011 167.8)

  3. Step 200

    200

    #CCDED6

    oklch(88.5% 0.022 167.4)

  4. Step 300

    300

    #AAC9BB

    oklch(80.9% 0.039 166.3)

  5. Step 400

    400

    #7BAD98

    oklch(70.6% 0.062 166.7)

  6. Step 500

    500

    #56997F

    oklch(63.1% 0.08 166.8)

  7. Step 600

    600

    #398368

    oklch(55.5% 0.086 166.6)

  8. Step 700

    700

    #2A6F57

    oklch(49.1% 0.08 167.1)

  9. Step 800

    800

    #255B47

    oklch(42.8% 0.067 166.2)

  10. Step 900

    900 (this color)

    #2A5142

    oklch(40.1% 0.052 166.9)

  11. Step 950

    950

    #162C23

    oklch(27.1% 0.033 165.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A5142 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)#4F4C410.052
Deuteranopia (no green cones)#4948430.049
Tritanopia (no blue cones)#1E514D0.020
Achromatopsia (no color)#4A4A4A0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5142

    #2A5142

    oklch(40.1% 0.052 166.9)

  • #5D3C4D

    #5D3C4D

    oklch(40% 0.053 347.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5142

    #2A5142

    oklch(40.1% 0.052 166.9)

  • #3B4F33

    #3B4F33

    oklch(40.2% 0.052 137)

  • #215151

    #215151

    oklch(40.2% 0.052 195.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A5142

    #2A5142

    oklch(40.1% 0.052 166.9)

  • #533F5B

    #533F5B

    oklch(40% 0.053 316.1)

  • #613C3E

    #613C3E

    oklch(40% 0.052 16.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5142

    #2A5142

    oklch(40.1% 0.052 166.9)

  • #464463

    #464463

    oklch(40.2% 0.052 286.8)

  • #5F3F30

    #5F3F30

    oklch(40% 0.051 45.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5142

    #2A5142

    oklch(40.1% 0.052 166.9)

  • #364964

    #364964

    oklch(40.1% 0.052 257.2)

  • #5D3C4D

    #5D3C4D

    oklch(40% 0.053 347.5)

  • #584427

    #584427

    oklch(40.1% 0.051 75.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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