#2F3934

Closest named color: Onyx (#343A40). oklch(33.4% 0.016 163.8), rgb(47, 57, 52).

Aa

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

About this color

#2F3934 is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.016. 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 11.96:1.

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

Values

HEX#2F3934
RGBrgb(47, 57, 52)
HSLhsl(150, 10%, 20%)
OKLCHoklch(33.4% 0.016 163.8)

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 #2F3934 11.96:1 AAA Lc -101.0 Preferred for body text
Black text on #2F3934 1.75:1 Fails Lc 0.0 Not readable
#2F3934 text on white 11.96:1 AAA Lc 97.4 Preferred for body text
#2F3934 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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E8EAE9

    oklch(93.5% 0.003 165.1)

  3. Step 200

    200

    #D5DAD8

    oklch(88.4% 0.006 170.4)

  4. Step 300

    300

    #BAC3BE

    oklch(80.9% 0.012 162)

  5. Step 400

    400

    #96A59D

    oklch(70.8% 0.02 162.7)

  6. Step 500

    500

    #7D8E85

    oklch(63% 0.024 162.7)

  7. Step 600

    600

    #66786F

    oklch(55.5% 0.025 163.9)

  8. Step 700

    700

    #54655D

    oklch(49% 0.024 165.3)

  9. Step 800

    800

    #45534C

    oklch(42.8% 0.021 163.8)

  10. Step 900

    900 (this color)

    #2F3934

    oklch(33.4% 0.016 163.8)

  11. Step 950

    950

    #222825

    oklch(27% 0.01 164.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F3934 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)#3937340.017
Deuteranopia (no green cones)#3736340.016
Tritanopia (no blue cones)#2D39370.006
Achromatopsia (no color)#3737370.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F3934

    #2F3934

    oklch(33.4% 0.016 163.8)

  • #3D3338

    #3D3338

    oklch(33.4% 0.017 346.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F3934

    #2F3934

    oklch(33.4% 0.016 163.8)

  • #333830

    #333830

    oklch(33.3% 0.015 133.6)

  • #2D3939

    #2D3939

    oklch(33.4% 0.016 196.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F3934

    #2F3934

    oklch(33.4% 0.016 163.8)

  • #39343C

    #39343C

    oklch(33.3% 0.015 313)

  • #3E3334

    #3E3334

    oklch(33.3% 0.016 11.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F3934

    #2F3934

    oklch(33.4% 0.016 163.8)

  • #35353E

    #35353E

    oklch(33.3% 0.016 285.5)

  • #3E3430

    #3E3430

    oklch(33.4% 0.016 43)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F3934

    #2F3934

    oklch(33.4% 0.016 163.8)

  • #31373F

    #31373F

    oklch(33.4% 0.016 255.6)

  • #3D3338

    #3D3338

    oklch(33.4% 0.017 346.4)

  • #3B352D

    #3B352D

    oklch(33.3% 0.016 75.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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