#171825

Closest named color: Rich Black (#0D1B2A). oklch(21.4% 0.026 280.6), rgb(23, 24, 37).

Aa

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

About this color

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

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

Values

HEX#171825
RGBrgb(23, 24, 37)
HSLhsl(236, 23%, 12%)
OKLCHoklch(21.4% 0.026 280.6)

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 #171825 17.59:1 AAA Lc -106.7 Preferred for body text
Black text on #171825 1.19:1 Fails Lc 0.0 Not readable
#171825 text on white 17.59:1 AAA Lc 104.4 Preferred for body text
#171825 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D7D8E4

    oklch(88.5% 0.016 282.2)

  4. Step 300

    300

    #BCBFD4

    oklch(80.9% 0.03 279.3)

  5. Step 400

    400

    #9A9EBF

    oklch(70.7% 0.048 279.7)

  6. Step 500

    500

    #8286AF

    oklch(63.2% 0.062 280.1)

  7. Step 600

    600

    #6C6F9A

    oklch(55.6% 0.067 280.9)

  8. Step 700

    700

    #5A5D84

    oklch(49.2% 0.062 280.4)

  9. Step 800

    800

    #494C6B

    oklch(42.7% 0.051 279.7)

  10. Step 900

    900

    #3D3F57

    oklch(37.6% 0.041 280.5)

  11. Step 950

    950 (this color)

    #171825

    oklch(21.4% 0.026 280.6)

Export this scale for Tailwind in the Tailwind colors tool

#171825 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)#1419260.006
Deuteranopia (no green cones)#1418250.005
Tritanopia (no blue cones)#131A1D0.021
Achromatopsia (no color)#1919190.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #171825

    #171825

    oklch(21.4% 0.026 280.6)

  • #1C1A0B

    #1C1A0B

    oklch(21.5% 0.027 101.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171825

    #171825

    oklch(21.4% 0.026 280.6)

  • #101A25

    #101A25

    oklch(21.4% 0.026 251.4)

  • #1D1622

    #1D1622

    oklch(21.4% 0.025 310.8)

Open the analogous palette in the generator

Split complementary

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

  • #171825

    #171825

    oklch(21.4% 0.026 280.6)

  • #21170C

    #21170C

    oklch(21.4% 0.026 68.4)

  • #151C0F

    #151C0F

    oklch(21.5% 0.027 131.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171825

    #171825

    oklch(21.4% 0.026 280.6)

  • #241510

    #241510

    oklch(21.4% 0.027 39.2)

  • #0E1D15

    #0E1D15

    oklch(21.4% 0.026 159.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171825

    #171825

    oklch(21.4% 0.026 280.6)

  • #241416

    #241416

    oklch(21.4% 0.027 11.4)

  • #1C1A0B

    #1C1A0B

    oklch(21.5% 0.027 101.7)

  • #0A1D1C

    #0A1D1C

    oklch(21.4% 0.025 191)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #171825 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.