#23151B

Closest named color: Rich Black (#0D1B2A). oklch(21.7% 0.025 352), rgb(35, 21, 27).

Aa

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

About this color

#23151B is a very dark close to neutral grey. In OKLCH its lightness is 22%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.047 away. White text reads best on it, at 17.57:1.

Hue familyNeutrals
Lightnessvery dark (22%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.19:1
White text17.57:1

Values

HEX#23151B
RGBrgb(35, 21, 27)
HSLhsl(334, 25%, 11%)
OKLCHoklch(21.7% 0.025 352)

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 #23151B 17.57:1 AAA Lc -106.6 Preferred for body text
Black text on #23151B 1.19:1 Fails Lc 0.0 Not readable
#23151B text on white 17.57:1 AAA Lc 104.4 Preferred for body text
#23151B text on black 1.19: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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #EFE8EA

    oklch(93.7% 0.008 357.8)

  3. Step 200

    200

    #E2D5DA

    oklch(88.5% 0.016 352)

  4. Step 300

    300

    #D1B9C2

    oklch(80.9% 0.03 353.1)

  5. Step 400

    400

    #B995A4

    oklch(70.7% 0.048 351.5)

  6. Step 500

    500

    #A77B8D

    oklch(63.2% 0.06 352.6)

  7. Step 600

    600

    #926377

    oklch(55.6% 0.067 352.3)

  8. Step 700

    700

    #7C5264

    oklch(49.1% 0.061 352.3)

  9. Step 800

    800

    #654352

    oklch(42.6% 0.052 351.4)

  10. Step 900

    900

    #523944

    oklch(37.7% 0.039 351.1)

  11. Step 950

    950 (this color)

    #23151B

    oklch(21.7% 0.025 352)

Export this scale for Tailwind in the Tailwind colors tool

#23151B 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)#16181B0.028
Deuteranopia (no green cones)#1A1A1B0.024
Tritanopia (no blue cones)#2515170.009
Achromatopsia (no color)#1919190.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #23151B

    #23151B

    oklch(21.7% 0.025 352)

  • #0D1E18

    #0D1E18

    oklch(21.8% 0.026 169.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #23151B

    #23151B

    oklch(21.7% 0.025 352)

  • #1F1621

    #1F1621

    oklch(21.6% 0.025 320.1)

  • #241515

    #241515

    oklch(21.6% 0.025 19.3)

Open the analogous palette in the generator

Split complementary

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

  • #23151B

    #23151B

    oklch(21.7% 0.025 352)

  • #131D12

    #131D12

    oklch(21.7% 0.026 142.4)

  • #0A1D1F

    #0A1D1F

    oklch(21.6% 0.025 204.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #23151B

    #23151B

    oklch(21.7% 0.025 352)

  • #1A1B0D

    #1A1B0D

    oklch(21.7% 0.025 111.8)

  • #0D1C23

    #0D1C23

    oklch(21.7% 0.025 229.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #23151B

    #23151B

    oklch(21.7% 0.025 352)

  • #20190C

    #20190C

    oklch(21.8% 0.026 82.2)

  • #0D1E18

    #0D1E18

    oklch(21.8% 0.026 169.2)

  • #131A26

    #131A26

    oklch(21.7% 0.026 261)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #23151B 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.