#31372F

Closest named color: Onyx (#343A40). oklch(32.8% 0.016 137.8), rgb(49, 55, 47).

Aa

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

About this color

#31372F 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.029 away. White text reads best on it, at 12.22:1.

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

Values

HEX#31372F
RGBrgb(49, 55, 47)
HSLhsl(105, 8%, 20%)
OKLCHoklch(32.8% 0.016 137.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 #31372F 12.22:1 AAA Lc -101.4 Preferred for body text
Black text on #31372F 1.71:1 Fails Lc 0.0 Not readable
#31372F text on white 12.22:1 AAA Lc 97.9 Preferred for body text
#31372F text on black 1.71: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

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D7DAD6

    oklch(88.5% 0.006 137.8)

  4. Step 300

    300

    #BDC2BB

    oklch(80.8% 0.011 136.6)

  5. Step 400

    400

    #9BA498

    oklch(70.8% 0.02 137.8)

  6. Step 500

    500

    #828D7F

    oklch(63% 0.024 139)

  7. Step 600

    600

    #6C7768

    oklch(55.5% 0.026 137.3)

  8. Step 700

    700

    #5A6457

    oklch(49.1% 0.024 138.5)

  9. Step 800

    800

    #4A5247

    oklch(42.8% 0.021 137.1)

  10. Step 900

    900 (this color)

    #31372F

    oklch(32.8% 0.016 137.8)

  11. Step 950

    950

    #242823

    oklch(27.1% 0.011 139.4)

Export this scale for Tailwind in the Tailwind colors tool

#31372F 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.012
Deuteranopia (no green cones)#37352F0.012
Tritanopia (no blue cones)#3136350.012
Achromatopsia (no color)#3535350.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #31372F

    #31372F

    oklch(32.8% 0.016 137.8)

  • #38323A

    #38323A

    oklch(32.7% 0.016 317.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31372F

    #31372F

    oklch(32.8% 0.016 137.8)

  • #36362C

    #36362C

    oklch(33% 0.017 107.3)

  • #2D3833

    #2D3833

    oklch(32.9% 0.017 166)

Open the analogous palette in the generator

Split complementary

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

  • #31372F

    #31372F

    oklch(32.8% 0.016 137.8)

  • #34343D

    #34343D

    oklch(32.9% 0.016 285.5)

  • #3C3236

    #3C3236

    oklch(32.9% 0.016 351.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31372F

    #31372F

    oklch(32.8% 0.016 137.8)

  • #30353D

    #30353D

    oklch(32.7% 0.016 259.8)

  • #3D3232

    #3D3232

    oklch(32.9% 0.016 18)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31372F

    #31372F

    oklch(32.8% 0.016 137.8)

  • #2D373B

    #2D373B

    oklch(32.9% 0.015 224)

  • #38323A

    #38323A

    oklch(32.7% 0.016 317.7)

  • #3C332E

    #3C332E

    oklch(32.9% 0.016 50.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31372F 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.