#2A5040

Closest named color: Dark Blue Green (#005249). oklch(39.8% 0.052 164.9), rgb(42, 80, 64).

Aa

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

About this color

#2A5040 is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.052 and its hue 165°. 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 9.05:1.

Hue familyGreens
Lightnessdark (40%)
Chromamuted (0.052)
Temperaturein between
Nearest nameDark Blue Green (#005249)
Black text2.31:1
White text9.05:1

Values

HEX#2A5040
RGBrgb(42, 80, 64)
HSLhsl(155, 31%, 24%)
OKLCHoklch(39.8% 0.052 164.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 #2A5040 9.05:1 AAA Lc -95.1 Preferred for body text
Black text on #2A5040 2.31:1 Fails Lc 13.3 Not readable
#2A5040 text on white 9.05:1 AAA Lc 90.7 Preferred for body text
#2A5040 text on black 2.31:1 Fails Lc -11.6 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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3ECE8

    oklch(93.5% 0.011 167.8)

  3. Step 200

    200

    #CDDED5

    oklch(88.5% 0.022 163)

  4. Step 300

    300

    #AAC9BA

    oklch(80.9% 0.039 164.6)

  5. Step 400

    400

    #7CAD97

    oklch(70.6% 0.061 165.2)

  6. Step 500

    500

    #58997D

    oklch(63.1% 0.08 164.6)

  7. Step 600

    600

    #3B8366

    oklch(55.5% 0.086 164.6)

  8. Step 700

    700

    #2C6F55

    oklch(49.1% 0.08 164.8)

  9. Step 800

    800

    #265A46

    oklch(42.6% 0.066 165.6)

  10. Step 900

    900 (this color)

    #2A5040

    oklch(39.8% 0.052 164.9)

  11. Step 950

    950

    #162C22

    oklch(27.1% 0.034 163.4)

Export this scale for Tailwind in the Tailwind colors tool

#2A5040 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)#4F4B3F0.052
Deuteranopia (no green cones)#4947410.050
Tritanopia (no blue cones)#1F504B0.020
Achromatopsia (no color)#4949490.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5040

    #2A5040

    oklch(39.8% 0.052 164.9)

  • #5B3C4D

    #5B3C4D

    oklch(39.8% 0.05 345.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5040

    #2A5040

    oklch(39.8% 0.052 164.9)

  • #3B4D31

    #3B4D31

    oklch(39.7% 0.051 134.8)

  • #205050

    #205050

    oklch(39.9% 0.052 195.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A5040

    #2A5040

    oklch(39.8% 0.052 164.9)

  • #523F5A

    #523F5A

    oklch(39.9% 0.051 315.7)

  • #603B3E

    #603B3E

    oklch(39.7% 0.053 14.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5040

    #2A5040

    oklch(39.8% 0.052 164.9)

  • #444362

    #444362

    oklch(39.7% 0.052 285.3)

  • #5F3E2F

    #5F3E2F

    oklch(39.8% 0.053 45.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5040

    #2A5040

    oklch(39.8% 0.052 164.9)

  • #344863

    #344863

    oklch(39.7% 0.052 256.1)

  • #5B3C4D

    #5B3C4D

    oklch(39.8% 0.05 345.6)

  • #584326

    #584326

    oklch(39.8% 0.052 74.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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