#231F2E

Closest named color: Dark (#1B2431). oklch(25.1% 0.028 296.5), rgb(35, 31, 46).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (25%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.30:1
White text16.06:1

Values

HEX#231F2E
RGBrgb(35, 31, 46)
HSLhsl(256, 19%, 15%)
OKLCHoklch(25.1% 0.028 296.5)

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 #231F2E 16.06:1 AAA Lc -105.6 Preferred for body text
Black text on #231F2E 1.30:1 Fails Lc 0.0 Not readable
#231F2E text on white 16.06:1 AAA Lc 103.0 Preferred for body text
#231F2E text on black 1.30: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EAE9F0

    oklch(93.7% 0.009 292.8)

  3. Step 200

    200

    #DAD7E4

    oklch(88.5% 0.018 296.6)

  4. Step 300

    300

    #C2BDD4

    oklch(81% 0.032 295.6)

  5. Step 400

    400

    #A39ABF

    oklch(70.7% 0.054 296.1)

  6. Step 500

    500

    #8D81AF

    oklch(63.1% 0.069 296.3)

  7. Step 600

    600

    #776A9A

    oklch(55.5% 0.075 296.3)

  8. Step 700

    700

    #645884

    oklch(49% 0.07 296.2)

  9. Step 800

    800

    #52486B

    oklch(42.6% 0.058 297)

  10. Step 900

    900

    #443D57

    oklch(37.8% 0.045 296.6)

  11. Step 950

    950 (this color)

    #231F2E

    oklch(25.1% 0.028 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#231F2E 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)#1C212F0.013
Deuteranopia (no green cones)#1C212E0.014
Tritanopia (no blue cones)#2121240.023
Achromatopsia (no color)#2121210.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #231F2E

    #231F2E

    oklch(25.1% 0.028 296.5)

  • #212414

    #212414

    oklch(25.2% 0.029 117.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231F2E

    #231F2E

    oklch(25.1% 0.028 296.5)

  • #1B2230

    #1B2230

    oklch(25.2% 0.029 263.9)

  • #291D29

    #291D29

    oklch(25.1% 0.028 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #231F2E

    #231F2E

    oklch(25.1% 0.028 296.5)

  • #282111

    #282111

    oklch(25.1% 0.029 86.7)

  • #19261A

    #19261A

    oklch(25.2% 0.029 146.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231F2E

    #231F2E

    oklch(25.1% 0.028 296.5)

  • #2C1E14

    #2C1E14

    oklch(24.9% 0.028 56.6)

  • #122621

    #122621

    oklch(25% 0.028 176)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231F2E

    #231F2E

    oklch(25.1% 0.028 296.5)

  • #2E1D1A

    #2E1D1A

    oklch(25.1% 0.028 30.3)

  • #212414

    #212414

    oklch(25.2% 0.029 117.1)

  • #102629

    #102629

    oklch(25.2% 0.028 207)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #231F2E 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.