#313C2D

Closest named color: Onyx (#343A40). oklch(34.1% 0.029 137.4), rgb(49, 60, 45).

Aa

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

About this color

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

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

Values

HEX#313C2D
RGBrgb(49, 60, 45)
HSLhsl(104, 14%, 21%)
OKLCHoklch(34.1% 0.029 137.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 #313C2D 11.57:1 AAA Lc -100.3 Preferred for body text
Black text on #313C2D 1.81:1 Fails Lc 0.0 Not readable
#313C2D text on white 11.57:1 AAA Lc 96.6 Preferred for body text
#313C2D text on black 1.81: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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E8EBE7

    oklch(93.7% 0.006 137.8)

  3. Step 200

    200

    #D5DBD3

    oklch(88.5% 0.013 137.8)

  4. Step 300

    300

    #BAC4B6

    oklch(80.9% 0.022 136.6)

  5. Step 400

    400

    #96A691

    oklch(70.7% 0.035 138.2)

  6. Step 500

    500

    #7D9076

    oklch(63.1% 0.044 137.3)

  7. Step 600

    600

    #667A5E

    oklch(55.5% 0.048 136.8)

  8. Step 700

    700

    #54674E

    oklch(49.1% 0.045 138.2)

  9. Step 800

    800

    #455440

    oklch(42.7% 0.037 137.9)

  10. Step 900

    900 (this color)

    #313C2D

    oklch(34.1% 0.029 137.4)

  11. Step 950

    950

    #222920

    oklch(27.1% 0.019 138.8)

Export this scale for Tailwind in the Tailwind colors tool

#313C2D 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)#3D3A2C0.020
Deuteranopia (no green cones)#3B392E0.019
Tritanopia (no blue cones)#313B380.020
Achromatopsia (no color)#3939390.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #313C2D

    #313C2D

    oklch(34.1% 0.029 137.4)

  • #3F3442

    #3F3442

    oklch(34.2% 0.028 318.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313C2D

    #313C2D

    oklch(34.1% 0.029 137.4)

  • #3A3928

    #3A3928

    oklch(34% 0.028 105)

  • #293D35

    #293D35

    oklch(34% 0.029 167.9)

Open the analogous palette in the generator

Split complementary

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

  • #313C2D

    #313C2D

    oklch(34.1% 0.029 137.4)

  • #373647

    #373647

    oklch(34.1% 0.03 287.4)

  • #44323B

    #44323B

    oklch(34.1% 0.03 347.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313C2D

    #313C2D

    oklch(34.1% 0.029 137.4)

  • #2F3948

    #2F3948

    oklch(34.2% 0.03 258.4)

  • #463233

    #463233

    oklch(34% 0.029 15.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313C2D

    #313C2D

    oklch(34.1% 0.029 137.4)

  • #283B44

    #283B44

    oklch(34% 0.029 228.9)

  • #3F3442

    #3F3442

    oklch(34.2% 0.028 318.9)

  • #45342B

    #45342B

    oklch(34.1% 0.029 49.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #313C2D 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.