#231B28

Closest named color: Dark (#1B2431). oklch(23.8% 0.027 312.2), rgb(35, 27, 40).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.25:1
White text16.68:1

Values

HEX#231B28
RGBrgb(35, 27, 40)
HSLhsl(277, 19%, 13%)
OKLCHoklch(23.8% 0.027 312.2)

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 #231B28 16.68:1 AAA Lc -106.0 Preferred for body text
Black text on #231B28 1.25:1 Fails Lc 0.0 Not readable
#231B28 text on white 16.68:1 AAA Lc 103.6 Preferred for body text
#231B28 text on black 1.25: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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DDD6E2

    oklch(88.5% 0.018 311.6)

  4. Step 300

    300

    #C8BBD0

    oklch(80.9% 0.032 312.8)

  5. Step 400

    400

    #AB98B8

    oklch(70.7% 0.051 311.6)

  6. Step 500

    500

    #977EA6

    oklch(63% 0.065 312.6)

  7. Step 600

    600

    #816792

    oklch(55.5% 0.072 311.6)

  8. Step 700

    700

    #6D567C

    oklch(49.1% 0.065 311.6)

  9. Step 800

    800

    #594665

    oklch(42.6% 0.055 311.9)

  10. Step 900

    900

    #493B52

    oklch(37.6% 0.042 311.9)

  11. Step 950

    950 (this color)

    #231B28

    oklch(23.8% 0.027 312.2)

Export this scale for Tailwind in the Tailwind colors tool

#231B28 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)#191E290.020
Deuteranopia (no green cones)#1B1E280.018
Tritanopia (no blue cones)#231D200.019
Achromatopsia (no color)#1E1E1E0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #231B28

    #231B28

    oklch(23.8% 0.027 312.2)

  • #1A2114

    #1A2114

    oklch(23.6% 0.026 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231B28

    #231B28

    oklch(23.8% 0.027 312.2)

  • #1D1D2B

    #1D1D2B

    oklch(23.8% 0.027 284.2)

  • #281A22

    #281A22

    oklch(23.9% 0.026 344)

Open the analogous palette in the generator

Split complementary

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

  • #231B28

    #231B28

    oklch(23.8% 0.027 312.2)

  • #211F10

    #211F10

    oklch(23.7% 0.027 101.6)

  • #12231B

    #12231B

    oklch(23.8% 0.028 163)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231B28

    #231B28

    oklch(23.8% 0.027 312.2)

  • #271D10

    #271D10

    oklch(23.9% 0.028 73.2)

  • #0E2322

    #0E2322

    oklch(23.8% 0.027 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231B28

    #231B28

    oklch(23.8% 0.027 312.2)

  • #2A1A15

    #2A1A15

    oklch(23.7% 0.027 38.1)

  • #1A2114

    #1A2114

    oklch(23.6% 0.026 131.2)

  • #0F2228

    #0F2228

    oklch(23.9% 0.027 220.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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