#23161B

Closest named color: Rich Black (#0D1B2A). oklch(21.9% 0.023 354.3), rgb(35, 22, 27).

Aa

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

About this color

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

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

Values

HEX#23161B
RGBrgb(35, 22, 27)
HSLhsl(337, 23%, 11%)
OKLCHoklch(21.9% 0.023 354.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 #23161B 17.47:1 AAA Lc -106.6 Preferred for body text
Black text on #23161B 1.20:1 Fails Lc 0.0 Not readable
#23161B text on white 17.47:1 AAA Lc 104.3 Preferred for body text
#23161B text on black 1.20: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

    #F8F4F5

    oklch(97.1% 0.004 360)

  2. Step 100

    100

    #EEE8EA

    oklch(93.6% 0.007 354.8)

  3. Step 200

    200

    #E2D5DA

    oklch(88.5% 0.016 352)

  4. Step 300

    300

    #D0BAC2

    oklch(81% 0.027 353.7)

  5. Step 400

    400

    #B796A2

    oklch(70.7% 0.043 354.4)

  6. Step 500

    500

    #A57C8B

    oklch(63.1% 0.055 355)

  7. Step 600

    600

    #906575

    oklch(55.6% 0.06 355.1)

  8. Step 700

    700

    #7A5463

    oklch(49.2% 0.055 353.9)

  9. Step 800

    800

    #644450

    oklch(42.6% 0.047 355.1)

  10. Step 900

    900

    #513A43

    oklch(37.7% 0.035 353.6)

  11. Step 950

    950 (this color)

    #23161B

    oklch(21.9% 0.023 354.3)

Export this scale for Tailwind in the Tailwind colors tool

#23161B 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)#17181B0.025
Deuteranopia (no green cones)#1A1A1B0.022
Tritanopia (no blue cones)#2516180.007
Achromatopsia (no color)#1A1A1A0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #23161B

    #23161B

    oklch(21.9% 0.023 354.3)

  • #0F1E1A

    #0F1E1A

    oklch(22% 0.022 175.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #23161B

    #23161B

    oklch(21.9% 0.023 354.3)

  • #201720

    #201720

    oklch(22% 0.022 326.3)

  • #241615

    #241615

    oklch(21.8% 0.023 23.7)

Open the analogous palette in the generator

Split complementary

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

  • #23161B

    #23161B

    oklch(21.9% 0.023 354.3)

  • #141D14

    #141D14

    oklch(21.9% 0.022 144.8)

  • #0D1E1F

    #0D1E1F

    oklch(22.1% 0.023 200.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #23161B

    #23161B

    oklch(21.9% 0.023 354.3)

  • #1A1C0F

    #1A1C0F

    oklch(22% 0.024 115.5)

  • #101C23

    #101C23

    oklch(21.9% 0.022 234.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #23161B

    #23161B

    oklch(21.9% 0.023 354.3)

  • #1F1A0E

    #1F1A0E

    oklch(22% 0.023 87.8)

  • #0F1E1A

    #0F1E1A

    oklch(22% 0.022 175.4)

  • #151A25

    #151A25

    oklch(21.8% 0.023 265.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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