#31434B

Closest named color: Charcoal (#264653). oklch(37.1% 0.027 227), rgb(49, 67, 75).

Aa

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

About this color

#31434B is a dark close to neutral grey. In OKLCH its lightness is 37%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Charcoal (#264653), ΔE 0.018 away. White text reads best on it, at 10.31:1.

Hue familyNeutrals
Lightnessdark (37%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameCharcoal (#264653)
Black text2.03:1
White text10.31:1

Values

HEX#31434B
RGBrgb(49, 67, 75)
HSLhsl(198, 21%, 24%)
OKLCHoklch(37.1% 0.027 227)

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 #31434B 10.31:1 AAA Lc -98.0 Preferred for body text
Black text on #31434B 2.03:1 Fails Lc 10.0 Not readable
#31434B text on white 10.31:1 AAA Lc 93.9 Preferred for body text
#31434B text on black 2.03:1 Fails Lc -8.6 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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EBED

    oklch(93.7% 0.006 223.5)

  3. Step 200

    200

    #D2DBDF

    oklch(88.6% 0.011 226)

  4. Step 300

    300

    #B4C4CB

    oklch(81% 0.02 225.8)

  5. Step 400

    400

    #8CA5B0

    oklch(70.6% 0.032 226.2)

  6. Step 500

    500

    #708F9D

    oklch(63.1% 0.041 227.2)

  7. Step 600

    600

    #577988

    oklch(55.6% 0.045 227.1)

  8. Step 700

    700

    #476673

    oklch(49.1% 0.042 225.9)

  9. Step 800

    800

    #3B535E

    oklch(42.7% 0.034 228)

  10. Step 900

    900 (this color)

    #31434B

    oklch(37.1% 0.027 227)

  11. Step 950

    950

    #1E282D

    oklch(27% 0.017 229.8)

Export this scale for Tailwind in the Tailwind colors tool

#31434B 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)#3F424B0.021
Deuteranopia (no green cones)#3B3F4B0.019
Tritanopia (no blue cones)#2845450.019
Achromatopsia (no color)#4040400.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #31434B

    #31434B

    oklch(37.1% 0.027 227)

  • #4C3C34

    #4C3C34

    oklch(37.1% 0.026 48)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31434B

    #31434B

    oklch(37.1% 0.027 227)

  • #2F4445

    #2F4445

    oklch(36.9% 0.026 199.8)

  • #37414E

    #37414E

    oklch(37.2% 0.026 255.1)

Open the analogous palette in the generator

Split complementary

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

  • #31434B

    #31434B

    oklch(37.1% 0.027 227)

  • #4D3A3B

    #4D3A3B

    oklch(37% 0.027 14.9)

  • #483E30

    #483E30

    oklch(37% 0.027 76)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31434B

    #31434B

    oklch(37.1% 0.027 227)

  • #4B3A43

    #4B3A43

    oklch(37% 0.028 345.4)

  • #414131

    #414131

    oklch(37% 0.026 107.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31434B

    #31434B

    oklch(37.1% 0.027 227)

  • #463C49

    #463C49

    oklch(37.2% 0.026 318.4)

  • #4C3C34

    #4C3C34

    oklch(37.1% 0.026 48)

  • #394336

    #394336

    oklch(37% 0.025 138.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31434B 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.