#31474E

Closest named color: Charcoal (#264653). oklch(38.3% 0.03 219.6), rgb(49, 71, 78).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (38%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameCharcoal (#264653)
Black text2.14:1
White text9.80:1

Values

HEX#31474E
RGBrgb(49, 71, 78)
HSLhsl(194, 23%, 25%)
OKLCHoklch(38.3% 0.03 219.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 #31474E 9.80:1 AAA Lc -96.9 Preferred for body text
Black text on #31474E 2.14:1 Fails Lc 11.2 Not readable
#31474E text on white 9.80:1 AAA Lc 92.7 Preferred for body text
#31474E text on black 2.14:1 Fails Lc -9.7 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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E5EBED

    oklch(93.6% 0.007 219.6)

  3. Step 200

    200

    #D1DBDF

    oklch(88.5% 0.012 223.5)

  4. Step 300

    300

    #B2C4CB

    oklch(80.9% 0.022 223.1)

  5. Step 400

    400

    #89A6B0

    oklch(70.7% 0.035 220.7)

  6. Step 500

    500

    #6B909D

    oklch(63% 0.045 221.5)

  7. Step 600

    600

    #527B87

    oklch(55.7% 0.049 218.1)

  8. Step 700

    700

    #426773

    oklch(49.1% 0.046 220.4)

  9. Step 800

    800

    #37545D

    oklch(42.7% 0.038 219.3)

  10. Step 900

    900 (this color)

    #31474E

    oklch(38.3% 0.03 219.6)

  11. Step 950

    950

    #1C292D

    oklch(27.1% 0.019 218.7)

Export this scale for Tailwind in the Tailwind colors tool

#31474E 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)#43464E0.026
Deuteranopia (no green cones)#3E424E0.023
Tritanopia (no blue cones)#2749490.018
Achromatopsia (no color)#4444440.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #31474E

    #31474E

    oklch(38.3% 0.03 219.6)

  • #513E37

    #513E37

    oklch(38.2% 0.029 41.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31474E

    #31474E

    oklch(38.3% 0.03 219.6)

  • #304846

    #304846

    oklch(38.1% 0.03 189.5)

  • #374553

    #374553

    oklch(38.4% 0.03 248.6)

Open the analogous palette in the generator

Split complementary

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

  • #31474E

    #31474E

    oklch(38.3% 0.03 219.6)

  • #523D3F

    #523D3F

    oklch(38.4% 0.03 12.2)

  • #4E4032

    #4E4032

    oklch(38.2% 0.03 66.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31474E

    #31474E

    oklch(38.3% 0.03 219.6)

  • #4E3D48

    #4E3D48

    oklch(38.2% 0.029 339.7)

  • #474431

    #474431

    oklch(38.4% 0.031 100.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31474E

    #31474E

    oklch(38.3% 0.03 219.6)

  • #483F4F

    #483F4F

    oklch(38.3% 0.029 310.3)

  • #513E37

    #513E37

    oklch(38.2% 0.029 41.2)

  • #3E4636

    #3E4636

    oklch(38.2% 0.028 129.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31474E 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.