#212331

Closest named color: Dark (#1B2431). oklch(26.1% 0.026 278.1), rgb(33, 35, 49).

Aa

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

About this color

#212331 is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.010 away. White text reads best on it, at 15.56:1.

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.34:1
White text15.56:1

Values

HEX#212331
RGBrgb(33, 35, 49)
HSLhsl(233, 20%, 16%)
OKLCHoklch(26.1% 0.026 278.1)

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 #212331 15.56:1 AAA Lc -105.2 Preferred for body text
Black text on #212331 1.34:1 Fails Lc 0.0 Not readable
#212331 text on white 15.56:1 AAA Lc 102.5 Preferred for body text
#212331 text on black 1.34: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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D6D8E5

    oklch(88.5% 0.018 279)

  4. Step 300

    300

    #BBBFD5

    oklch(80.8% 0.031 277.5)

  5. Step 400

    400

    #999EC0

    oklch(70.7% 0.05 278.5)

  6. Step 500

    500

    #8086B0

    oklch(63.1% 0.064 278.1)

  7. Step 600

    600

    #6A6F9C

    oklch(55.5% 0.07 279)

  8. Step 700

    700

    #585D85

    oklch(49.1% 0.064 278.3)

  9. Step 800

    800

    #484C6C

    oklch(42.7% 0.053 278.4)

  10. Step 900

    900

    #3C4058

    oklch(37.8% 0.041 276.9)

  11. Step 950

    950 (this color)

    #212331

    oklch(26.1% 0.026 278.1)

Export this scale for Tailwind in the Tailwind colors tool

#212331 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)#1F24320.004
Deuteranopia (no green cones)#1E23310.005
Tritanopia (no blue cones)#1D26280.024
Achromatopsia (no color)#2424240.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #212331

    #212331

    oklch(26.1% 0.026 278.1)

  • #272415

    #272415

    oklch(25.9% 0.026 98.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212331

    #212331

    oklch(26.1% 0.026 278.1)

  • #1A2530

    #1A2530

    oklch(25.9% 0.026 248.9)

  • #28212E

    #28212E

    oklch(26.1% 0.026 309)

Open the analogous palette in the generator

Split complementary

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

  • #212331

    #212331

    oklch(26.1% 0.026 278.1)

  • #2D2216

    #2D2216

    oklch(26.1% 0.027 68.7)

  • #202719

    #202719

    oklch(26.1% 0.027 129.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212331

    #212331

    oklch(26.1% 0.026 278.1)

  • #30201B

    #30201B

    oklch(26.2% 0.027 38.1)

  • #19281F

    #19281F

    oklch(26% 0.027 157.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212331

    #212331

    oklch(26.1% 0.026 278.1)

  • #301F22

    #301F22

    oklch(26.2% 0.027 7.4)

  • #272415

    #272415

    oklch(25.9% 0.026 98.2)

  • #142826

    #142826

    oklch(25.9% 0.026 187.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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