#312224

Closest named color: Jet (#212529). oklch(27.1% 0.023 9.8), rgb(49, 34, 36).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.38:1
White text15.16:1

Values

HEX#312224
RGBrgb(49, 34, 36)
HSLhsl(352, 18%, 16%)
OKLCHoklch(27.1% 0.023 9.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 #312224 15.16:1 AAA Lc -104.8 Preferred for body text
Black text on #312224 1.38:1 Fails Lc 0.0 Not readable
#312224 text on white 15.16:1 AAA Lc 102.0 Preferred for body text
#312224 text on black 1.38: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

    #F8F4F5

    oklch(97.1% 0.004 360)

  2. Step 100

    100

    #EFE8E8

    oklch(93.6% 0.008 17.3)

  3. Step 200

    200

    #E3D5D7

    oklch(88.5% 0.016 7.5)

  4. Step 300

    300

    #D2BABC

    oklch(81% 0.028 12)

  5. Step 400

    400

    #BA969A

    oklch(70.7% 0.043 10.7)

  6. Step 500

    500

    #A87C82

    oklch(63.1% 0.055 9.7)

  7. Step 600

    600

    #93646B

    oklch(55.5% 0.062 9.5)

  8. Step 700

    700

    #7D5359

    oklch(49% 0.057 10)

  9. Step 800

    800

    #664449

    oklch(42.7% 0.048 9.6)

  10. Step 900

    900

    #533A3D

    oklch(37.8% 0.036 10.9)

  11. Step 950

    950 (this color)

    #312224

    oklch(27.1% 0.023 9.8)

Export this scale for Tailwind in the Tailwind colors tool

#312224 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)#2424240.026
Deuteranopia (no green cones)#2827240.023
Tritanopia (no blue cones)#3421230.007
Achromatopsia (no color)#2626260.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #312224

    #312224

    oklch(27.1% 0.023 9.8)

  • #192A29

    #192A29

    oklch(27% 0.023 191.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312224

    #312224

    oklch(27.1% 0.023 9.8)

  • #2F222A

    #2F222A

    oklch(27.1% 0.024 341.4)

  • #31231E

    #31231E

    oklch(27.1% 0.023 40.5)

Open the analogous palette in the generator

Split complementary

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

  • #312224

    #312224

    oklch(27.1% 0.023 9.8)

  • #1D2A23

    #1D2A23

    oklch(27% 0.022 160.9)

  • #1A292F

    #1A292F

    oklch(27% 0.023 224.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312224

    #312224

    oklch(27.1% 0.023 9.8)

  • #23291D

    #23291D

    oklch(27.1% 0.023 129.5)

  • #1E2832

    #1E2832

    oklch(27.2% 0.023 248.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312224

    #312224

    oklch(27.1% 0.023 9.8)

  • #29271A

    #29271A

    oklch(27.1% 0.023 100.4)

  • #192A29

    #192A29

    oklch(27% 0.023 191.2)

  • #242632

    #242632

    oklch(27.2% 0.022 277.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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