#31353D

Closest named color: Onyx (#343A40). oklch(32.8% 0.015 264.3), rgb(49, 53, 61).

Aa

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

About this color

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

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

Values

HEX#31353D
RGBrgb(49, 53, 61)
HSLhsl(220, 11%, 22%)
OKLCHoklch(32.8% 0.015 264.3)

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 #31353D 12.30:1 AAA Lc -101.5 Preferred for body text
Black text on #31353D 1.70:1 Fails Lc 0.0 Not readable
#31353D text on white 12.30:1 AAA Lc 98.1 Preferred for body text
#31353D 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

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #E9EAEC

    oklch(93.7% 0.003 264.5)

  3. Step 200

    200

    #D7D9DD

    oklch(88.5% 0.006 264.5)

  4. Step 300

    300

    #BDC1C8

    oklch(81% 0.011 261.8)

  5. Step 400

    400

    #9BA1AC

    oklch(70.8% 0.017 262.7)

  6. Step 500

    500

    #828A98

    oklch(63.2% 0.023 261.7)

  7. Step 600

    600

    #6C7383

    oklch(55.5% 0.026 266.7)

  8. Step 700

    700

    #5A616F

    oklch(49.2% 0.024 264.3)

  9. Step 800

    800

    #4A4F5A

    oklch(42.7% 0.019 266.1)

  10. Step 900

    900 (this color)

    #31353D

    oklch(32.8% 0.015 264.3)

  11. Step 950

    950

    #24262B

    oklch(26.9% 0.01 268.3)

Export this scale for Tailwind in the Tailwind colors tool

#31353D 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)#33353D0.003
Deuteranopia (no green cones)#31343D0.003
Tritanopia (no blue cones)#2E37380.014
Achromatopsia (no color)#3535350.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #31353D

    #31353D

    oklch(32.8% 0.015 264.3)

  • #39342C

    #39342C

    oklch(32.8% 0.015 79.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31353D

    #31353D

    oklch(32.8% 0.015 264.3)

  • #2E363C

    #2E363C

    oklch(32.8% 0.015 240.4)

  • #35343C

    #35343C

    oklch(32.9% 0.014 291.3)

Open the analogous palette in the generator

Split complementary

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

  • #31353D

    #31353D

    oklch(32.8% 0.015 264.3)

  • #3B332E

    #3B332E

    oklch(32.8% 0.014 54.1)

  • #35362D

    #35362D

    oklch(32.9% 0.015 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31353D

    #31353D

    oklch(32.8% 0.015 264.3)

  • #3C3231

    #3C3231

    oklch(32.8% 0.015 24.7)

  • #303730

    #303730

    oklch(32.8% 0.015 145.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31353D

    #31353D

    oklch(32.8% 0.015 264.3)

  • #3C3235

    #3C3235

    oklch(32.9% 0.015 358)

  • #39342C

    #39342C

    oklch(32.8% 0.015 79.6)

  • #2D3834

    #2D3834

    oklch(32.9% 0.016 171.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31353D 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.