#231B27

Closest named color: Dark (#1B2431). oklch(23.7% 0.025 314.3), rgb(35, 27, 39).

Aa

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

About this color

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

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

Values

HEX#231B27
RGBrgb(35, 27, 39)
HSLhsl(280, 18%, 13%)
OKLCHoklch(23.7% 0.025 314.3)

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

    #DDD6E1

    oklch(88.5% 0.017 313.6)

  4. Step 300

    300

    #C8BBCE

    oklch(80.9% 0.03 315.3)

  5. Step 400

    400

    #AC98B6

    oklch(70.7% 0.048 314.5)

  6. Step 500

    500

    #977FA4

    oklch(63.2% 0.061 313.6)

  7. Step 600

    600

    #82688F

    oklch(55.7% 0.066 314.2)

  8. Step 700

    700

    #6E5679

    oklch(49.1% 0.062 315)

  9. Step 800

    800

    #594763

    oklch(42.8% 0.051 313.3)

  10. Step 900

    900

    #493B51

    oklch(37.6% 0.041 313.1)

  11. Step 950

    950 (this color)

    #231B27

    oklch(23.7% 0.025 314.3)

Export this scale for Tailwind in the Tailwind colors tool

#231B27 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)#191D280.019
Deuteranopia (no green cones)#1B1E270.018
Tritanopia (no blue cones)#231C1F0.017
Achromatopsia (no color)#1E1E1E0.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #231B27

    #231B27

    oklch(23.7% 0.025 314.3)

  • #1A2115

    #1A2115

    oklch(23.7% 0.024 132.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231B27

    #231B27

    oklch(23.7% 0.025 314.3)

  • #1D1D2A

    #1D1D2A

    oklch(23.7% 0.025 284.3)

  • #271A21

    #271A21

    oklch(23.7% 0.024 345.6)

Open the analogous palette in the generator

Split complementary

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

  • #231B27

    #231B27

    oklch(23.7% 0.025 314.3)

  • #201F11

    #201F11

    oklch(23.6% 0.025 104.7)

  • #13221B

    #13221B

    oklch(23.6% 0.025 163.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231B27

    #231B27

    oklch(23.7% 0.025 314.3)

  • #261D11

    #261D11

    oklch(23.8% 0.025 74.1)

  • #0F2222

    #0F2222

    oklch(23.6% 0.025 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231B27

    #231B27

    oklch(23.7% 0.025 314.3)

  • #291B15

    #291B15

    oklch(23.8% 0.025 44.2)

  • #1A2115

    #1A2115

    oklch(23.7% 0.024 132.6)

  • #112128

    #112128

    oklch(23.7% 0.025 227.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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