#31343D

Closest named color: Gunmetal (#293241). oklch(32.6% 0.016 270.9), rgb(49, 52, 61).

Aa

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

About this color

#31343D 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 Gunmetal (#293241), ΔE 0.017 away. White text reads best on it, at 12.43:1.

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.68:1
White text12.43:1

Values

HEX#31343D
RGBrgb(49, 52, 61)
HSLhsl(225, 11%, 22%)
OKLCHoklch(32.6% 0.016 270.9)

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 #31343D 12.43:1 AAA Lc -101.7 Preferred for body text
Black text on #31343D 1.68:1 Fails Lc 0.0 Not readable
#31343D text on white 12.43:1 AAA Lc 98.3 Preferred for body text
#31343D text on black 1.68: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

    #D7D9DE

    oklch(88.5% 0.007 268.5)

  4. Step 300

    300

    #BDC0C9

    oklch(80.8% 0.013 271.3)

  5. Step 400

    400

    #9CA0AD

    oklch(70.7% 0.019 272.2)

  6. Step 500

    500

    #848999

    oklch(63.1% 0.025 271.9)

  7. Step 600

    600

    #6D7384

    oklch(55.6% 0.027 270.1)

  8. Step 700

    700

    #5B6070

    oklch(49.1% 0.026 271.7)

  9. Step 800

    800

    #4A4F5B

    oklch(42.8% 0.021 267.5)

  10. Step 900

    900 (this color)

    #31343D

    oklch(32.6% 0.016 270.9)

  11. Step 950

    950

    #24262C

    oklch(26.9% 0.012 271)

Export this scale for Tailwind in the Tailwind colors tool

#31343D 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)#31353D0.003
Deuteranopia (no green cones)#31343D0.000
Tritanopia (no blue cones)#2E36370.015
Achromatopsia (no color)#3434340.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #31343D

    #31343D

    oklch(32.6% 0.016 270.9)

  • #37342B

    #37342B

    oklch(32.5% 0.016 91.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31343D

    #31343D

    oklch(32.6% 0.016 270.9)

  • #2D363C

    #2D363C

    oklch(32.7% 0.016 237.2)

  • #36323C

    #36323C

    oklch(32.5% 0.018 303.5)

Open the analogous palette in the generator

Split complementary

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

  • #31343D

    #31343D

    oklch(32.6% 0.016 270.9)

  • #3B332C

    #3B332C

    oklch(32.7% 0.017 63.4)

  • #33362C

    #33362C

    oklch(32.7% 0.018 121)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31343D

    #31343D

    oklch(32.6% 0.016 270.9)

  • #3C312F

    #3C312F

    oklch(32.4% 0.016 30.1)

  • #2E3730

    #2E3730

    oklch(32.6% 0.017 152)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31343D

    #31343D

    oklch(32.6% 0.016 270.9)

  • #3C3134

    #3C3134

    oklch(32.6% 0.017 359.8)

  • #37342B

    #37342B

    oklch(32.5% 0.016 91.7)

  • #2B3735

    #2B3735

    oklch(32.5% 0.016 184.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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