#313C36

Closest named color: Onyx (#343A40). oklch(34.4% 0.018 161.5), rgb(49, 60, 54).

Aa

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

About this color

#313C36 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.022 away. White text reads best on it, at 11.47:1.

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

Values

HEX#313C36
RGBrgb(49, 60, 54)
HSLhsl(147, 10%, 21%)
OKLCHoklch(34.4% 0.018 161.5)

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 #313C36 11.47:1 AAA Lc -100.1 Preferred for body text
Black text on #313C36 1.83:1 Fails Lc 7.4 Not readable
#313C36 text on white 11.47:1 AAA Lc 96.4 Preferred for body text
#313C36 text on black 1.83: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)

    #313C36

    oklch(34.4% 0.018 161.5)

  11. Step 950

    950

    #222825

    oklch(27% 0.01 164.1)

Export this scale for Tailwind in the Tailwind colors tool

#313C36 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)#3C3A360.018
Deuteranopia (no green cones)#3A39360.017
Tritanopia (no blue cones)#2F3C3A0.007
Achromatopsia (no color)#3939390.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #313C36

    #313C36

    oklch(34.4% 0.018 161.5)

  • #40353C

    #40353C

    oklch(34.3% 0.019 339.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313C36

    #313C36

    oklch(34.4% 0.018 161.5)

  • #363B31

    #363B31

    oklch(34.4% 0.018 129.1)

  • #2E3C3B

    #2E3C3B

    oklch(34.3% 0.018 190.9)

Open the analogous palette in the generator

Split complementary

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

  • #313C36

    #313C36

    oklch(34.4% 0.018 161.5)

  • #3C3640

    #3C3640

    oklch(34.3% 0.019 311.9)

  • #423536

    #423536

    oklch(34.3% 0.019 12.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313C36

    #313C36

    oklch(34.4% 0.018 161.5)

  • #373842

    #373842

    oklch(34.4% 0.017 280.9)

  • #413632

    #413632

    oklch(34.3% 0.017 41)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313C36

    #313C36

    oklch(34.4% 0.018 161.5)

  • #323A42

    #323A42

    oklch(34.4% 0.018 248.3)

  • #40353C

    #40353C

    oklch(34.3% 0.019 339.7)

  • #3F382F

    #3F382F

    oklch(34.5% 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 #313C36, closest first.

Similar named colors

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

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