#2E383C

Closest named color: Onyx (#343A40). oklch(33.3% 0.015 224), rgb(46, 56, 60).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.015)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.74:1
White text12.02:1

Values

HEX#2E383C
RGBrgb(46, 56, 60)
HSLhsl(197, 13%, 21%)
OKLCHoklch(33.3% 0.015 224)

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 #2E383C 12.02:1 AAA Lc -101.1 Preferred for body text
Black text on #2E383C 1.74:1 Fails Lc 0.0 Not readable
#2E383C text on white 12.02:1 AAA Lc 97.5 Preferred for body text
#2E383C text on black 1.74: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

    #E8EAEB

    oklch(93.6% 0.003 228.8)

  3. Step 200

    200

    #D5DADC

    oklch(88.5% 0.006 223.5)

  4. Step 300

    300

    #B9C2C6

    oklch(80.8% 0.011 226)

  5. Step 400

    400

    #95A3A9

    oklch(70.6% 0.018 225.3)

  6. Step 500

    500

    #7B8D94

    oklch(63.1% 0.023 223.2)

  7. Step 600

    600

    #64777E

    oklch(55.6% 0.025 222.1)

  8. Step 700

    700

    #53646B

    oklch(49.2% 0.024 224.7)

  9. Step 800

    800

    #445257

    oklch(42.8% 0.019 221.4)

  10. Step 900

    900 (this color)

    #2E383C

    oklch(33.3% 0.015 224)

  11. Step 950

    950

    #22282A

    oklch(27.2% 0.009 219.8)

Export this scale for Tailwind in the Tailwind colors tool

#2E383C 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)#36373C0.013
Deuteranopia (no green cones)#34363C0.011
Tritanopia (no blue cones)#2A39390.010
Achromatopsia (no color)#3636360.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E383C

    #2E383C

    oklch(33.3% 0.015 224)

  • #3D3430

    #3D3430

    oklch(33.3% 0.015 45.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E383C

    #2E383C

    oklch(33.3% 0.015 224)

  • #2D3938

    #2D3938

    oklch(33.3% 0.016 190.2)

  • #31373E

    #31373E

    oklch(33.4% 0.015 252.3)

Open the analogous palette in the generator

Split complementary

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

  • #2E383C

    #2E383C

    oklch(33.3% 0.015 224)

  • #3E3334

    #3E3334

    oklch(33.3% 0.016 11.8)

  • #3B352E

    #3B352E

    oklch(33.3% 0.015 71.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E383C

    #2E383C

    oklch(33.3% 0.015 224)

  • #3C3338

    #3C3338

    oklch(33.3% 0.015 343.4)

  • #37372E

    #37372E

    oklch(33.4% 0.015 107.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E383C

    #2E383C

    oklch(33.3% 0.015 224)

  • #39343C

    #39343C

    oklch(33.3% 0.015 313)

  • #3D3430

    #3D3430

    oklch(33.3% 0.015 45.4)

  • #333830

    #333830

    oklch(33.3% 0.015 133.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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