#231A28

Closest named color: Dark (#1B2431). oklch(23.5% 0.029 313.2), rgb(35, 26, 40).

Aa

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

About this color

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

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

Values

HEX#231A28
RGBrgb(35, 26, 40)
HSLhsl(279, 21%, 13%)
OKLCHoklch(23.5% 0.029 313.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 #231A28 16.80:1 AAA Lc -106.1 Preferred for body text
Black text on #231A28 1.24:1 Fails Lc 0.0 Not readable
#231A28 text on white 16.80:1 AAA Lc 103.7 Preferred for body text
#231A28 text on black 1.24: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

    #F6F4F8

    oklch(97% 0.006 308.4)

  2. Step 100

    100

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DED6E2

    oklch(88.6% 0.018 314.7)

  4. Step 300

    300

    #C9BAD1

    oklch(80.8% 0.036 314.1)

  5. Step 400

    400

    #AD97BA

    oklch(70.7% 0.056 312.9)

  6. Step 500

    500

    #997DA8

    oklch(63.1% 0.071 313.6)

  7. Step 600

    600

    #836694

    oklch(55.6% 0.077 312.6)

  8. Step 700

    700

    #6F547E

    oklch(49% 0.073 313.1)

  9. Step 800

    800

    #5B4566

    oklch(42.7% 0.06 314.1)

  10. Step 900

    900

    #4A3A53

    oklch(37.6% 0.047 313.1)

  11. Step 950

    950 (this color)

    #231A28

    oklch(23.5% 0.029 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#231A28 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)#181D290.022
Deuteranopia (no green cones)#1A1E280.021
Tritanopia (no blue cones)#231C1F0.021
Achromatopsia (no color)#1D1D1D0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #231A28

    #231A28

    oklch(23.5% 0.029 313.2)

  • #192113

    #192113

    oklch(23.5% 0.028 132.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231A28

    #231A28

    oklch(23.5% 0.029 313.2)

  • #1C1C2C

    #1C1C2C

    oklch(23.4% 0.031 283.8)

  • #281922

    #281922

    oklch(23.6% 0.029 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #231A28

    #231A28

    oklch(23.5% 0.029 313.2)

  • #201F0E

    #201F0E

    oklch(23.5% 0.03 105.5)

  • #10221A

    #10221A

    oklch(23.3% 0.029 164)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231A28

    #231A28

    oklch(23.5% 0.029 313.2)

  • #271C0E

    #271C0E

    oklch(23.6% 0.03 72.3)

  • #0B2222

    #0B2222

    oklch(23.4% 0.029 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231A28

    #231A28

    oklch(23.5% 0.029 313.2)

  • #2A1A13

    #2A1A13

    oklch(23.6% 0.029 44.5)

  • #192113

    #192113

    oklch(23.5% 0.028 132.4)

  • #0D2128

    #0D2128

    oklch(23.5% 0.029 223.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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