#31323F

Closest named color: Gunmetal (#293241). oklch(32.2% 0.023 281.6), rgb(49, 50, 63).

Aa

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

About this color

#31323F is a dark close to neutral grey. In OKLCH its lightness is 32%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.013 away. White text reads best on it, at 12.66:1.

Hue familyNeutrals
Lightnessdark (32%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.65:1
White text12.66:1

Values

HEX#31323F
RGBrgb(49, 50, 63)
HSLhsl(236, 13%, 22%)
OKLCHoklch(32.2% 0.023 281.6)

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 #31323F 12.66:1 AAA Lc -102.1 Preferred for body text
Black text on #31323F 1.65:1 Fails Lc 0.0 Not readable
#31323F text on white 12.66:1 AAA Lc 98.7 Preferred for body text
#31323F text on black 1.65: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 950.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D7D8E3

    oklch(88.5% 0.015 281.9)

  4. Step 300

    300

    #BDBFD2

    oklch(80.9% 0.027 281)

  5. Step 400

    400

    #9B9EBC

    oklch(70.7% 0.044 280.7)

  6. Step 500

    500

    #8386AB

    oklch(63.1% 0.056 281.1)

  7. Step 600

    600

    #6D6F97

    oklch(55.6% 0.062 282)

  8. Step 700

    700

    #5B5D80

    oklch(49.1% 0.056 281.6)

  9. Step 800

    800

    #4A4C68

    oklch(42.6% 0.046 281.1)

  10. Step 900

    900

    #3E3F55

    oklch(37.6% 0.038 282.4)

  11. Step 950

    950 (this color)

    #31323F

    oklch(32.2% 0.023 281.6)

Export this scale for Tailwind in the Tailwind colors tool

#31323F 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)#2F33400.004
Deuteranopia (no green cones)#2E323F0.005
Tritanopia (no blue cones)#2E34360.020
Achromatopsia (no color)#3333330.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #31323F

    #31323F

    oklch(32.2% 0.023 281.6)

  • #363426

    #363426

    oklch(32.3% 0.024 100.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31323F

    #31323F

    oklch(32.2% 0.023 281.6)

  • #2B343F

    #2B343F

    oklch(32.1% 0.023 253.6)

  • #37303C

    #37303C

    oklch(32.1% 0.023 311.1)

Open the analogous palette in the generator

Split complementary

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

  • #31323F

    #31323F

    oklch(32.2% 0.023 281.6)

  • #3B3126

    #3B3126

    oklch(32.1% 0.024 69.5)

  • #2F362A

    #2F362A

    oklch(32.2% 0.023 132.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31323F

    #31323F

    oklch(32.2% 0.023 281.6)

  • #3E302A

    #3E302A

    oklch(32.3% 0.023 44.4)

  • #293730

    #293730

    oklch(32.2% 0.022 163.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31323F

    #31323F

    oklch(32.2% 0.023 281.6)

  • #3E2F30

    #3E2F30

    oklch(32.2% 0.022 13.9)

  • #363426

    #363426

    oklch(32.3% 0.024 100.8)

  • #253736

    #253736

    oklch(32.1% 0.023 191.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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