#2B382F

Closest named color: Onyx (#343A40). oklch(32.6% 0.023 154.7), rgb(43, 56, 47).

Aa

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

About this color

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

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

Values

HEX#2B382F
RGBrgb(43, 56, 47)
HSLhsl(138, 13%, 19%)
OKLCHoklch(32.6% 0.023 154.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 #2B382F 12.28:1 AAA Lc -101.5 Preferred for body text
Black text on #2B382F 1.70:1 Fails Lc 0.0 Not readable
#2B382F text on white 12.28:1 AAA Lc 98.0 Preferred for body text
#2B382F 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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E7EBE8

    oklch(93.6% 0.006 153.8)

  3. Step 200

    200

    #D4DBD6

    oklch(88.5% 0.01 155.1)

  4. Step 300

    300

    #B8C4BC

    oklch(80.9% 0.017 156.8)

  5. Step 400

    400

    #94A699

    oklch(70.7% 0.028 154.2)

  6. Step 500

    500

    #799080

    oklch(63% 0.035 154.9)

  7. Step 600

    600

    #627A69

    oklch(55.5% 0.038 154.2)

  8. Step 700

    700

    #516758

    oklch(49.1% 0.036 155.1)

  9. Step 800

    800

    #425448

    oklch(42.7% 0.03 155.7)

  10. Step 900

    900 (this color)

    #2B382F

    oklch(32.6% 0.023 154.7)

  11. Step 950

    950

    #212923

    oklch(27.1% 0.016 152.8)

Export this scale for Tailwind in the Tailwind colors tool

#2B382F 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)#38362F0.022
Deuteranopia (no green cones)#36342F0.021
Tritanopia (no blue cones)#2938350.011
Achromatopsia (no color)#3535350.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B382F

    #2B382F

    oklch(32.6% 0.023 154.7)

  • #3C3039

    #3C3039

    oklch(32.6% 0.023 335)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B382F

    #2B382F

    oklch(32.6% 0.023 154.7)

  • #323729

    #323729

    oklch(32.7% 0.025 123.7)

  • #273836

    #273836

    oklch(32.5% 0.022 187.1)

Open the analogous palette in the generator

Split complementary

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

  • #2B382F

    #2B382F

    oklch(32.6% 0.023 154.7)

  • #37313E

    #37313E

    oklch(32.5% 0.024 306)

  • #3F2F33

    #3F2F33

    oklch(32.5% 0.024 1.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B382F

    #2B382F

    oklch(32.6% 0.023 154.7)

  • #313441

    #313441

    oklch(32.8% 0.023 274.9)

  • #3F302C

    #3F302C

    oklch(32.5% 0.023 35.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B382F

    #2B382F

    oklch(32.6% 0.023 154.7)

  • #2A3640

    #2A3640

    oklch(32.6% 0.024 243.7)

  • #3C3039

    #3C3039

    oklch(32.6% 0.023 335)

  • #3D3228

    #3D3228

    oklch(32.6% 0.023 64.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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