#151F22

Closest named color: Rich Black (#0D1B2A). oklch(23.1% 0.015 218.2), rgb(21, 31, 34).

Aa

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

About this color

#151F22 is a very dark close to neutral grey. In OKLCH its lightness is 23%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.028 away. White text reads best on it, at 16.78:1.

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.015)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.25:1
White text16.78:1

Values

HEX#151F22
RGBrgb(21, 31, 34)
HSLhsl(194, 24%, 11%)
OKLCHoklch(23.1% 0.015 218.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 #151F22 16.78:1 AAA Lc -106.1 Preferred for body text
Black text on #151F22 1.25:1 Fails Lc 0.0 Not readable
#151F22 text on white 16.78:1 AAA Lc 103.7 Preferred for body text
#151F22 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

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E6EBEC

    oklch(93.7% 0.006 211)

  3. Step 200

    200

    #D2DBDE

    oklch(88.5% 0.011 219.6)

  4. Step 300

    300

    #B4C4C8

    oklch(80.9% 0.018 214.4)

  5. Step 400

    400

    #8DA5AD

    oklch(70.6% 0.029 219.9)

  6. Step 500

    500

    #718F99

    oklch(63.1% 0.037 220.2)

  7. Step 600

    600

    #587983

    oklch(55.5% 0.041 218.5)

  8. Step 700

    700

    #48666F

    oklch(49% 0.038 218.4)

  9. Step 800

    800

    #3C535A

    oklch(42.6% 0.03 218.5)

  10. Step 900

    900

    #33454A

    oklch(37.7% 0.024 216.7)

  11. Step 950

    950 (this color)

    #151F22

    oklch(23.1% 0.015 218.2)

Export this scale for Tailwind in the Tailwind colors tool

#151F22 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)#1D1E220.014
Deuteranopia (no green cones)#1B1D220.012
Tritanopia (no blue cones)#1120200.009
Achromatopsia (no color)#1D1D1D0.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #151F22

    #151F22

    oklch(23.1% 0.015 218.2)

  • #241B18

    #241B18

    oklch(23.2% 0.015 39.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151F22

    #151F22

    oklch(23.1% 0.015 218.2)

  • #15201E

    #15201E

    oklch(23.2% 0.016 182.4)

  • #181E24

    #181E24

    oklch(23.2% 0.015 248.5)

Open the analogous palette in the generator

Split complementary

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

  • #151F22

    #151F22

    oklch(23.1% 0.015 218.2)

  • #241A1C

    #241A1C

    oklch(23.1% 0.016 5)

  • #221C15

    #221C15

    oklch(23.1% 0.016 71.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151F22

    #151F22

    oklch(23.1% 0.015 218.2)

  • #221A20

    #221A20

    oklch(23% 0.017 335.1)

  • #1F1D15

    #1F1D15

    oklch(23% 0.015 95.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151F22

    #151F22

    oklch(23.1% 0.015 218.2)

  • #1F1B23

    #1F1B23

    oklch(23% 0.016 307.7)

  • #241B18

    #241B18

    oklch(23.2% 0.015 39.3)

  • #1B1F17

    #1B1F17

    oklch(23.2% 0.016 129.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #151F22 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.