#2D4240

Closest named color: Charcoal Grey (#3C4142). oklch(36.1% 0.027 188.7), rgb(45, 66, 64).

Aa

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

About this color

#2D4240 is a dark close to neutral grey. In OKLCH its lightness is 36%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.023 away. White text reads best on it, at 10.68:1.

Hue familyNeutrals
Lightnessdark (36%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text1.96:1
White text10.68:1

Values

HEX#2D4240
RGBrgb(45, 66, 64)
HSLhsl(174, 19%, 22%)
OKLCHoklch(36.1% 0.027 188.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 #2D4240 10.68:1 AAA Lc -98.7 Preferred for body text
Black text on #2D4240 1.96:1 Fails Lc 9.2 Not readable
#2D4240 text on white 10.68:1 AAA Lc 94.8 Preferred for body text
#2D4240 text on black 1.96:1 Fails Lc -7.8 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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E6EBEA

    oklch(93.6% 0.006 183)

  3. Step 200

    200

    #D1DCDA

    oklch(88.6% 0.012 184)

  4. Step 300

    300

    #B3C5C3

    oklch(80.9% 0.02 188.7)

  5. Step 400

    400

    #8BA7A4

    oklch(70.6% 0.031 188.5)

  6. Step 500

    500

    #6D928E

    oklch(63.1% 0.041 187.9)

  7. Step 600

    600

    #557C78

    oklch(55.6% 0.044 188)

  8. Step 700

    700

    #456965

    oklch(49.2% 0.042 187.2)

  9. Step 800

    800

    #395553

    oklch(42.7% 0.034 190.4)

  10. Step 900

    900 (this color)

    #2D4240

    oklch(36.1% 0.027 188.7)

  11. Step 950

    950

    #1D2928

    oklch(26.9% 0.017 189.9)

Export this scale for Tailwind in the Tailwind colors tool

#2D4240 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)#4040400.029
Deuteranopia (no green cones)#3C3D400.027
Tritanopia (no blue cones)#2643410.009
Achromatopsia (no color)#3E3E3E0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D4240

    #2D4240

    oklch(36.1% 0.027 188.7)

  • #4A383A

    #4A383A

    oklch(36.1% 0.026 11)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D4240

    #2D4240

    oklch(36.1% 0.027 188.7)

  • #324238

    #324238

    oklch(36.2% 0.027 157.3)

  • #2D4147

    #2D4147

    oklch(36.1% 0.027 218.3)

Open the analogous palette in the generator

Split complementary

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

  • #2D4240

    #2D4240

    oklch(36.1% 0.027 188.7)

  • #473842

    #473842

    oklch(36.1% 0.027 338.7)

  • #4A3933

    #4A3933

    oklch(36.1% 0.026 40.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D4240

    #2D4240

    oklch(36.1% 0.027 188.7)

  • #413A48

    #413A48

    oklch(36.1% 0.025 307.7)

  • #473B2E

    #473B2E

    oklch(36.1% 0.027 69)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D4240

    #2D4240

    oklch(36.1% 0.027 188.7)

  • #3A3C4B

    #3A3C4B

    oklch(36% 0.026 279)

  • #4A383A

    #4A383A

    oklch(36.1% 0.026 11)

  • #413E2E

    #413E2E

    oklch(36.2% 0.026 98.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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