#31242E

Closest named color: Jet (#212529). oklch(28% 0.026 334.6), rgb(49, 36, 46).

Aa

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

About this color

#31242E is a dark close to neutral grey. In OKLCH its lightness is 28%, its chroma 0.026. 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 14.76:1.

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.42:1
White text14.76:1

Values

HEX#31242E
RGBrgb(49, 36, 46)
HSLhsl(314, 15%, 17%)
OKLCHoklch(28% 0.026 334.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 #31242E 14.76:1 AAA Lc -104.4 Preferred for body text
Black text on #31242E 1.42:1 Fails Lc 0.0 Not readable
#31242E text on white 14.76:1 AAA Lc 101.6 Preferred for body text
#31242E text on black 1.42: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

    #F7F4F6

    oklch(97% 0.004 337.4)

  2. Step 100

    100

    #EEE8EC

    oklch(93.7% 0.008 337.4)

  3. Step 200

    200

    #E1D5DE

    oklch(88.5% 0.018 334.2)

  4. Step 300

    300

    #CEBAC9

    oklch(81% 0.03 334.5)

  5. Step 400

    400

    #B595AD

    oklch(70.6% 0.05 335)

  6. Step 500

    500

    #A27B99

    oklch(63.1% 0.064 334.7)

  7. Step 600

    600

    #8D6484

    oklch(55.6% 0.07 334.6)

  8. Step 700

    700

    #77536F

    oklch(49.1% 0.063 334.7)

  9. Step 800

    800

    #61445B

    oklch(42.7% 0.053 334)

  10. Step 900

    900

    #4F394A

    oklch(37.6% 0.041 334.7)

  11. Step 950

    950 (this color)

    #31242E

    oklch(28% 0.026 334.6)

Export this scale for Tailwind in the Tailwind colors tool

#31242E 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)#24272E0.025
Deuteranopia (no green cones)#27292E0.024
Tritanopia (no blue cones)#3224270.013
Achromatopsia (no color)#2828280.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #31242E

    #31242E

    oklch(28% 0.026 334.6)

  • #1F2D23

    #1F2D23

    oklch(28.1% 0.026 153.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31242E

    #31242E

    oklch(28% 0.026 334.6)

  • #2C2633

    #2C2633

    oklch(28.1% 0.025 305.8)

  • #342327

    #342327

    oklch(27.8% 0.027 3.4)

Open the analogous palette in the generator

Split complementary

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

  • #31242E

    #31242E

    oklch(28% 0.026 334.6)

  • #262B1D

    #262B1D

    oklch(27.9% 0.026 124)

  • #192D2A

    #192D2A

    oklch(27.9% 0.027 183.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31242E

    #31242E

    oklch(28% 0.026 334.6)

  • #2D291A

    #2D291A

    oklch(28.1% 0.026 95)

  • #192C31

    #192C31

    oklch(27.9% 0.026 216.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31242E

    #31242E

    oklch(28% 0.026 334.6)

  • #32261B

    #32261B

    oklch(27.9% 0.026 63.9)

  • #1F2D23

    #1F2D23

    oklch(28.1% 0.026 153.4)

  • #1E2A35

    #1E2A35

    oklch(27.9% 0.026 246.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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