#312229

Closest named color: Jet (#212529). oklch(27.3% 0.026 349.3), rgb(49, 34, 41).

Aa

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

About this color

#312229 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.026. 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.09:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.39:1
White text15.09:1

Values

HEX#312229
RGBrgb(49, 34, 41)
HSLhsl(332, 18%, 16%)
OKLCHoklch(27.3% 0.026 349.3)

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 #312229 15.09:1 AAA Lc -104.7 Preferred for body text
Black text on #312229 1.39:1 Fails Lc 0.0 Not readable
#312229 text on white 15.09:1 AAA Lc 102.0 Preferred for body text
#312229 text on black 1.39: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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #EFE7EB

    oklch(93.5% 0.01 345.4)

  3. Step 200

    200

    #E2D5DB

    oklch(88.5% 0.016 347.7)

  4. Step 300

    300

    #D1B9C3

    oklch(80.9% 0.03 350.7)

  5. Step 400

    400

    #B995A5

    oklch(70.8% 0.048 349.9)

  6. Step 500

    500

    #A77A8F

    oklch(63.1% 0.063 349.4)

  7. Step 600

    600

    #926379

    oklch(55.6% 0.068 349.9)

  8. Step 700

    700

    #7C5266

    oklch(49.1% 0.063 349.6)

  9. Step 800

    800

    #654353

    oklch(42.7% 0.052 349.8)

  10. Step 900

    900

    #523945

    oklch(37.7% 0.04 348.8)

  11. Step 950

    950 (this color)

    #312229

    oklch(27.3% 0.026 349.3)

Export this scale for Tailwind in the Tailwind colors tool

#312229 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)#2325290.028
Deuteranopia (no green cones)#2727290.024
Tritanopia (no blue cones)#3322240.010
Achromatopsia (no color)#2626260.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #312229

    #312229

    oklch(27.3% 0.026 349.3)

  • #1A2B25

    #1A2B25

    oklch(27.2% 0.025 170.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312229

    #312229

    oklch(27.3% 0.026 349.3)

  • #2D232F

    #2D232F

    oklch(27.3% 0.026 320.7)

  • #332222

    #332222

    oklch(27.3% 0.026 18.9)

Open the analogous palette in the generator

Split complementary

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

  • #312229

    #312229

    oklch(27.3% 0.026 349.3)

  • #212A1E

    #212A1E

    oklch(27.2% 0.025 137.9)

  • #172B2C

    #172B2C

    oklch(27.3% 0.026 199.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312229

    #312229

    oklch(27.3% 0.026 349.3)

  • #282819

    #282819

    oklch(27.2% 0.026 108)

  • #1A2A31

    #1A2A31

    oklch(27.4% 0.025 227.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312229

    #312229

    oklch(27.3% 0.026 349.3)

  • #2E2619

    #2E2619

    oklch(27.4% 0.025 79.5)

  • #1A2B25

    #1A2B25

    oklch(27.2% 0.025 170.3)

  • #202734

    #202734

    oklch(27.2% 0.026 262.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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