#2F3A34

Closest named color: Onyx (#343A40). oklch(33.6% 0.018 161.4), rgb(47, 58, 52).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (34%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.77:1
White text11.82:1

Values

HEX#2F3A34
RGBrgb(47, 58, 52)
HSLhsl(147, 10%, 21%)
OKLCHoklch(33.6% 0.018 161.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 #2F3A34 11.82:1 AAA Lc -100.7 Preferred for body text
Black text on #2F3A34 1.77:1 Fails Lc 0.0 Not readable
#2F3A34 text on white 11.82:1 AAA Lc 97.1 Preferred for body text
#2F3A34 text on black 1.77: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

    #E8EBE9

    oklch(93.7% 0.004 157.2)

  3. Step 200

    200

    #D5DBD7

    oklch(88.6% 0.008 157.1)

  4. Step 300

    300

    #B9C3BE

    oklch(80.8% 0.013 164.7)

  5. Step 400

    400

    #95A59C

    oklch(70.7% 0.022 161.2)

  6. Step 500

    500

    #7B8F84

    oklch(63.1% 0.028 161.5)

  7. Step 600

    600

    #64796E

    oklch(55.6% 0.03 162.5)

  8. Step 700

    700

    #53665C

    oklch(49.1% 0.028 162.3)

  9. Step 800

    800

    #44534B

    oklch(42.7% 0.023 162)

  10. Step 900

    900 (this color)

    #2F3A34

    oklch(33.6% 0.018 161.4)

  11. Step 950

    950

    #222825

    oklch(27% 0.01 164.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F3A34 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)#3A38340.019
Deuteranopia (no green cones)#3837340.017
Tritanopia (no blue cones)#2D3A380.007
Achromatopsia (no color)#3737370.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F3A34

    #2F3A34

    oklch(33.6% 0.018 161.4)

  • #3E333A

    #3E333A

    oklch(33.6% 0.02 339.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F3A34

    #2F3A34

    oklch(33.6% 0.018 161.4)

  • #34392F

    #34392F

    oklch(33.6% 0.018 129.1)

  • #2C3A39

    #2C3A39

    oklch(33.6% 0.018 190.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F3A34

    #2F3A34

    oklch(33.6% 0.018 161.4)

  • #3A343E

    #3A343E

    oklch(33.5% 0.019 311.9)

  • #403335

    #403335

    oklch(33.6% 0.019 7.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F3A34

    #2F3A34

    oklch(33.6% 0.018 161.4)

  • #353640

    #353640

    oklch(33.6% 0.018 280.9)

  • #3F3430

    #3F3430

    oklch(33.6% 0.017 41)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F3A34

    #2F3A34

    oklch(33.6% 0.018 161.4)

  • #303840

    #303840

    oklch(33.6% 0.018 248.4)

  • #3E333A

    #3E333A

    oklch(33.6% 0.02 339.8)

  • #3D362D

    #3D362D

    oklch(33.7% 0.018 74.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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