#18131B

Closest named color: Rich Black (#0D1B2A). oklch(19.7% 0.018 312.7), rgb(24, 19, 27).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (20%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.14:1
White text18.29:1

Values

HEX#18131B
RGBrgb(24, 19, 27)
HSLhsl(278, 17%, 9%)
OKLCHoklch(19.7% 0.018 312.7)

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 #18131B 18.29:1 AAA Lc -107.1 Preferred for body text
Black text on #18131B 1.14:1 Fails Lc 0.0 Not readable
#18131B text on white 18.29:1 AAA Lc 105.0 Preferred for body text
#18131B text on black 1.14: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

    #EBE9ED

    oklch(93.7% 0.006 308.4)

  3. Step 200

    200

    #DCD7DF

    oklch(88.5% 0.012 313.2)

  4. Step 300

    300

    #C5BDCA

    oklch(80.9% 0.02 312.8)

  5. Step 400

    400

    #A89BB0

    oklch(70.7% 0.033 312.8)

  6. Step 500

    500

    #92829C

    oklch(63% 0.043 312.5)

  7. Step 600

    600

    #7D6C87

    oklch(55.7% 0.046 313)

  8. Step 700

    700

    #695A72

    oklch(49.1% 0.042 312.7)

  9. Step 800

    800

    #56495D

    oklch(42.6% 0.036 313.7)

  10. Step 900

    900

    #473D4C

    oklch(37.6% 0.028 314.5)

  11. Step 950

    950 (this color)

    #18131B

    oklch(19.7% 0.018 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#18131B 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)#12151B0.013
Deuteranopia (no green cones)#13151B0.012
Tritanopia (no blue cones)#1814160.012
Achromatopsia (no color)#1515150.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #18131B

    #18131B

    oklch(19.7% 0.018 312.7)

  • #12170F

    #12170F

    oklch(19.6% 0.017 133.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18131B

    #18131B

    oklch(19.7% 0.018 312.7)

  • #14141D

    #14141D

    oklch(19.6% 0.018 284.6)

  • #1B1217

    #1B1217

    oklch(19.6% 0.018 344.4)

Open the analogous palette in the generator

Split complementary

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

  • #18131B

    #18131B

    oklch(19.7% 0.018 312.7)

  • #17160C

    #17160C

    oklch(19.8% 0.019 103.1)

  • #0E1813

    #0E1813

    oklch(19.7% 0.018 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18131B

    #18131B

    oklch(19.7% 0.018 312.7)

  • #1A140C

    #1A140C

    oklch(19.6% 0.018 74.4)

  • #0C1817

    #0C1817

    oklch(19.7% 0.017 189.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18131B

    #18131B

    oklch(19.7% 0.018 312.7)

  • #1C130F

    #1C130F

    oklch(19.7% 0.017 45.1)

  • #12170F

    #12170F

    oklch(19.6% 0.017 133.9)

  • #0C171B

    #0C171B

    oklch(19.6% 0.018 222.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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