#312121

Closest named color: Jet (#212529). oklch(26.7% 0.025 18.8), rgb(49, 33, 33).

Aa

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

About this color

#312121 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.032 away. White text reads best on it, at 15.32:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.37:1
White text15.32:1

Values

HEX#312121
RGBrgb(49, 33, 33)
HSLhsl(0, 20%, 16%)
OKLCHoklch(26.7% 0.025 18.8)

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 #312121 15.32:1 AAA Lc -104.9 Preferred for body text
Black text on #312121 1.37:1 Fails Lc 0.0 Not readable
#312121 text on white 15.32:1 AAA Lc 102.2 Preferred for body text
#312121 text on black 1.37: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

    #F8F4F4

    oklch(97% 0.004 17.2)

  2. Step 100

    100

    #EFE8E7

    oklch(93.6% 0.008 27.2)

  3. Step 200

    200

    #E4D5D5

    oklch(88.5% 0.017 17.5)

  4. Step 300

    300

    #D3B9B9

    oklch(80.8% 0.03 17.8)

  5. Step 400

    400

    #BC9595

    oklch(70.6% 0.047 18.3)

  6. Step 500

    500

    #AB7B7B

    oklch(63.1% 0.06 18.9)

  7. Step 600

    600

    #966464

    oklch(55.6% 0.065 19.3)

  8. Step 700

    700

    #805353

    oklch(49.2% 0.061 19.5)

  9. Step 800

    800

    #684444

    oklch(42.8% 0.05 19.3)

  10. Step 900

    900

    #553939

    oklch(37.7% 0.04 19.1)

  11. Step 950

    950 (this color)

    #312121

    oklch(26.7% 0.025 18.8)

Export this scale for Tailwind in the Tailwind colors tool

#312121 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)#2423210.026
Deuteranopia (no green cones)#2826210.023
Tritanopia (no blue cones)#341F210.009
Achromatopsia (no color)#2525250.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #312121

    #312121

    oklch(26.7% 0.025 18.8)

  • #172A2A

    #172A2A

    oklch(26.9% 0.025 195.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312121

    #312121

    oklch(26.7% 0.025 18.8)

  • #2F2128

    #2F2128

    oklch(26.7% 0.025 347.4)

  • #30221B

    #30221B

    oklch(26.7% 0.025 47.8)

Open the analogous palette in the generator

Split complementary

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

  • #312121

    #312121

    oklch(26.7% 0.025 18.8)

  • #192A24

    #192A24

    oklch(26.8% 0.025 170.2)

  • #192830

    #192830

    oklch(26.7% 0.025 232.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312121

    #312121

    oklch(26.7% 0.025 18.8)

  • #20291D

    #20291D

    oklch(26.8% 0.025 137.9)

  • #1E2632

    #1E2632

    oklch(26.6% 0.025 258.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312121

    #312121

    oklch(26.7% 0.025 18.8)

  • #272719

    #272719

    oklch(26.8% 0.024 107.9)

  • #172A2A

    #172A2A

    oklch(26.9% 0.025 195.8)

  • #252431

    #252431

    oklch(26.7% 0.024 288.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #312121 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.