#2F372F

Closest named color: Onyx (#343A40). oklch(32.6% 0.018 145.2), rgb(47, 55, 47).

Aa

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

About this color

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

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

Values

HEX#2F372F
RGBrgb(47, 55, 47)
HSLhsl(120, 8%, 20%)
OKLCHoklch(32.6% 0.018 145.2)

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 #2F372F 12.29:1 AAA Lc -101.5 Preferred for body text
Black text on #2F372F 1.70:1 Fails Lc 0.0 Not readable
#2F372F text on white 12.29:1 AAA Lc 98.0 Preferred for body text
#2F372F 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

    #F5F6F5

    oklch(97.2% 0.002 145.6)

  2. Step 100

    100

    #E8EAE8

    oklch(93.5% 0.003 145.5)

  3. Step 200

    200

    #D6DAD6

    oklch(88.4% 0.007 145.5)

  4. Step 300

    300

    #BBC3BB

    oklch(80.9% 0.014 145.4)

  5. Step 400

    400

    #99A499

    oklch(70.7% 0.02 145.4)

  6. Step 500

    500

    #808E80

    oklch(63.1% 0.026 145.3)

  7. Step 600

    600

    #697869

    oklch(55.6% 0.029 145.2)

  8. Step 700

    700

    #576557

    oklch(49% 0.028 145.1)

  9. Step 800

    800

    #475247

    oklch(42.5% 0.023 145.2)

  10. Step 900

    900 (this color)

    #2F372F

    oklch(32.6% 0.018 145.2)

  11. Step 950

    950

    #232823

    oklch(27% 0.012 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F372F 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)#37352F0.014
Deuteranopia (no green cones)#36352F0.013
Tritanopia (no blue cones)#2E36350.012
Achromatopsia (no color)#3535350.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F372F

    #2F372F

    oklch(32.6% 0.018 145.2)

  • #39313A

    #39313A

    oklch(32.5% 0.019 322.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F372F

    #2F372F

    oklch(32.6% 0.018 145.2)

  • #34362B

    #34362B

    oklch(32.7% 0.019 115.8)

  • #2B3834

    #2B3834

    oklch(32.8% 0.019 174.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F372F

    #2F372F

    oklch(32.6% 0.018 145.2)

  • #35333D

    #35333D

    oklch(32.7% 0.018 294.6)

  • #3C3135

    #3C3135

    oklch(32.7% 0.017 354.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F372F

    #2F372F

    oklch(32.6% 0.018 145.2)

  • #30343E

    #30343E

    oklch(32.5% 0.019 268.1)

  • #3D3130

    #3D3130

    oklch(32.6% 0.018 23.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F372F

    #2F372F

    oklch(32.6% 0.018 145.2)

  • #2C363C

    #2C363C

    oklch(32.6% 0.017 234.4)

  • #39313A

    #39313A

    oklch(32.5% 0.019 322.5)

  • #3C322C

    #3C322C

    oklch(32.6% 0.018 52.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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