#2A3738

Closest named color: Onyx (#343A40). oklch(32.5% 0.017 202.1), rgb(42, 55, 56).

Aa

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

About this color

#2A3738 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.023 away. White text reads best on it, at 12.33:1.

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

Values

HEX#2A3738
RGBrgb(42, 55, 56)
HSLhsl(184, 14%, 19%)
OKLCHoklch(32.5% 0.017 202.1)

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 #2A3738 12.33:1 AAA Lc -101.6 Preferred for body text
Black text on #2A3738 1.70:1 Fails Lc 0.0 Not readable
#2A3738 text on white 12.33:1 AAA Lc 98.1 Preferred for body text
#2A3738 text on black 1.70: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

    #E7EBEB

    oklch(93.7% 0.004 197.1)

  3. Step 200

    200

    #D4DBDB

    oklch(88.6% 0.008 197)

  4. Step 300

    300

    #B7C3C4

    oklch(80.8% 0.013 202.9)

  5. Step 400

    400

    #92A5A6

    oklch(70.7% 0.021 200.5)

  6. Step 500

    500

    #778F90

    oklch(63.2% 0.027 199.6)

  7. Step 600

    600

    #60797B

    oklch(55.7% 0.029 202.4)

  8. Step 700

    700

    #4F6567

    oklch(49% 0.027 203.2)

  9. Step 800

    800

    #415354

    oklch(42.7% 0.022 200.5)

  10. Step 900

    900 (this color)

    #2A3738

    oklch(32.5% 0.017 202.1)

  11. Step 950

    950

    #202829

    oklch(27% 0.011 205.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A3738 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)#3536380.017
Deuteranopia (no green cones)#3234380.015
Tritanopia (no blue cones)#2638370.007
Achromatopsia (no color)#3535350.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A3738

    #2A3738

    oklch(32.5% 0.017 202.1)

  • #3D3130

    #3D3130

    oklch(32.6% 0.018 23.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A3738

    #2A3738

    oklch(32.5% 0.017 202.1)

  • #2B3733

    #2B3733

    oklch(32.4% 0.018 172.9)

  • #2C363C

    #2C363C

    oklch(32.6% 0.017 234.4)

Open the analogous palette in the generator

Split complementary

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

  • #2A3738

    #2A3738

    oklch(32.5% 0.017 202.1)

  • #3C3135

    #3C3135

    oklch(32.7% 0.017 354.2)

  • #3C322C

    #3C322C

    oklch(32.6% 0.018 52.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A3738

    #2A3738

    oklch(32.5% 0.017 202.1)

  • #39313A

    #39313A

    oklch(32.5% 0.019 322.5)

  • #39342A

    #39342A

    oklch(32.7% 0.018 84.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A3738

    #2A3738

    oklch(32.5% 0.017 202.1)

  • #34333D

    #34333D

    oklch(32.6% 0.018 290)

  • #3D3130

    #3D3130

    oklch(32.6% 0.018 23.7)

  • #34352B

    #34352B

    oklch(32.5% 0.017 112)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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