#2E383E

Closest named color: Onyx (#343A40). oklch(33.4% 0.017 234.4), rgb(46, 56, 62).

Aa

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

About this color

#2E383E is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.017. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.012 away. White text reads best on it, at 11.99:1.

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.75:1
White text11.99:1

Values

HEX#2E383E
RGBrgb(46, 56, 62)
HSLhsl(203, 15%, 21%)
OKLCHoklch(33.4% 0.017 234.4)

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 #2E383E 11.99:1 AAA Lc -101.0 Preferred for body text
Black text on #2E383E 1.75:1 Fails Lc 0.0 Not readable
#2E383E text on white 11.99:1 AAA Lc 97.5 Preferred for body text
#2E383E text on black 1.75:1 Fails Lc 0.0 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

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E7EAEC

    oklch(93.5% 0.004 236.5)

  3. Step 200

    200

    #D5DADD

    oklch(88.5% 0.007 233.7)

  4. Step 300

    300

    #B9C2C8

    oklch(80.9% 0.013 236.7)

  5. Step 400

    400

    #95A3AC

    oklch(70.7% 0.021 235.9)

  6. Step 500

    500

    #7B8C97

    oklch(63% 0.026 236.2)

  7. Step 600

    600

    #637682

    oklch(55.5% 0.029 235.8)

  8. Step 700

    700

    #52646E

    oklch(49.2% 0.027 232.4)

  9. Step 800

    800

    #445159

    oklch(42.7% 0.021 235)

  10. Step 900

    900 (this color)

    #2E383E

    oklch(33.4% 0.017 234.4)

  11. Step 950

    950

    #21272B

    oklch(26.8% 0.011 237.1)

Export this scale for Tailwind in the Tailwind colors tool

#2E383E 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)#35383E0.011
Deuteranopia (no green cones)#33363E0.010
Tritanopia (no blue cones)#293A3A0.014
Achromatopsia (no color)#3737370.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E383E

    #2E383E

    oklch(33.4% 0.017 234.4)

  • #3E342E

    #3E342E

    oklch(33.4% 0.018 52.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E383E

    #2E383E

    oklch(33.4% 0.017 234.4)

  • #2C393A

    #2C393A

    oklch(33.3% 0.017 202.2)

  • #32363F

    #32363F

    oklch(33.3% 0.017 266.4)

Open the analogous palette in the generator

Split complementary

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

  • #2E383E

    #2E383E

    oklch(33.4% 0.017 234.4)

  • #3F3332

    #3F3332

    oklch(33.4% 0.017 23.7)

  • #3B362C

    #3B362C

    oklch(33.5% 0.018 84.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E383E

    #2E383E

    oklch(33.4% 0.017 234.4)

  • #3E3337

    #3E3337

    oklch(33.4% 0.017 354.2)

  • #36372E

    #36372E

    oklch(33.3% 0.015 112.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E383E

    #2E383E

    oklch(33.4% 0.017 234.4)

  • #3B333B

    #3B333B

    oklch(33.3% 0.018 326)

  • #3E342E

    #3E342E

    oklch(33.4% 0.018 52.8)

  • #313931

    #313931

    oklch(33.4% 0.018 145.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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