#171E28

Closest named color: Rich Black (#0D1B2A). oklch(23.3% 0.022 257.3), rgb(23, 30, 40).

Aa

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

About this color

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

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

Values

HEX#171E28
RGBrgb(23, 30, 40)
HSLhsl(215, 27%, 12%)
OKLCHoklch(23.3% 0.022 257.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 #171E28 16.76:1 AAA Lc -106.1 Preferred for body text
Black text on #171E28 1.25:1 Fails Lc 0.0 Not readable
#171E28 text on white 16.76:1 AAA Lc 103.7 Preferred for body text
#171E28 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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAEF

    oklch(93.6% 0.007 260.7)

  3. Step 200

    200

    #D3DAE3

    oklch(88.6% 0.015 254.6)

  4. Step 300

    300

    #B6C2D2

    oklch(81% 0.026 255.6)

  5. Step 400

    400

    #90A2BB

    oklch(70.7% 0.042 256.6)

  6. Step 500

    500

    #758BAA

    oklch(63.1% 0.053 257)

  7. Step 600

    600

    #5E7595

    oklch(55.7% 0.057 256.7)

  8. Step 700

    700

    #4D627F

    oklch(49.1% 0.053 256.6)

  9. Step 800

    800

    #3F5068

    oklch(42.7% 0.045 257)

  10. Step 900

    900

    #364254

    oklch(37.6% 0.035 258.3)

  11. Step 950

    950 (this color)

    #171E28

    oklch(23.3% 0.022 257.3)

Export this scale for Tailwind in the Tailwind colors tool

#171E28 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)#1A1E280.005
Deuteranopia (no green cones)#191D280.005
Tritanopia (no blue cones)#1220210.020
Achromatopsia (no color)#1E1E1E0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #171E28

    #171E28

    oklch(23.3% 0.022 257.3)

  • #231C12

    #231C12

    oklch(23.2% 0.021 76.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171E28

    #171E28

    oklch(23.3% 0.022 257.3)

  • #122026

    #122026

    oklch(23.4% 0.023 226.8)

  • #1D1C28

    #1D1C28

    oklch(23.3% 0.023 288.3)

Open the analogous palette in the generator

Split complementary

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

  • #171E28

    #171E28

    oklch(23.3% 0.022 257.3)

  • #261A15

    #261A15

    oklch(23.1% 0.021 43.7)

  • #1F1E12

    #1F1E12

    oklch(23.2% 0.022 103.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171E28

    #171E28

    oklch(23.3% 0.022 257.3)

  • #27191A

    #27191A

    oklch(23.2% 0.023 14.2)

  • #192016

    #192016

    oklch(23.3% 0.021 136.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171E28

    #171E28

    oklch(23.3% 0.022 257.3)

  • #26191F

    #26191F

    oklch(23.2% 0.023 349.7)

  • #231C12

    #231C12

    oklch(23.2% 0.021 76.3)

  • #13211B

    #13211B

    oklch(23.3% 0.023 165.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #171E28 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.