#170E1A

Closest named color: Almost Black (#070D0D). oklch(18.2% 0.028 317.5), rgb(23, 14, 26).

Aa

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

About this color

#170E1A is a very dark close to neutral grey. In OKLCH its lightness is 18%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.045 away. White text reads best on it, at 18.84:1.

Hue familyNeutrals
Lightnessvery dark (18%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.11:1
White text18.84:1

Values

HEX#170E1A
RGBrgb(23, 14, 26)
HSLhsl(285, 30%, 8%)
OKLCHoklch(18.2% 0.028 317.5)

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 #170E1A 18.84:1 AAA Lc -107.3 Preferred for body text
Black text on #170E1A 1.11:1 Fails Lc 0.0 Not readable
#170E1A text on white 18.84:1 AAA Lc 105.3 Preferred for body text
#170E1A text on black 1.11: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

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DED6E1

    oklch(88.6% 0.017 316.9)

  4. Step 300

    300

    #CABACF

    oklch(80.9% 0.034 318.1)

  5. Step 400

    400

    #AE97B6

    oklch(70.7% 0.051 317.3)

  6. Step 500

    500

    #9A7DA4

    oklch(63.1% 0.066 317.3)

  7. Step 600

    600

    #85668F

    oklch(55.6% 0.072 317.8)

  8. Step 700

    700

    #71547A

    oklch(49% 0.069 318)

  9. Step 800

    800

    #5C4563

    oklch(42.7% 0.056 318.2)

  10. Step 900

    900

    #4B3A51

    oklch(37.6% 0.044 317.1)

  11. Step 950

    950 (this color)

    #170E1A

    oklch(18.2% 0.028 317.5)

Export this scale for Tailwind in the Tailwind colors tool

#170E1A 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)#0C111A0.024
Deuteranopia (no green cones)#0E121A0.022
Tritanopia (no blue cones)#170F120.018
Achromatopsia (no color)#1111110.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #170E1A

    #170E1A

    oklch(18.2% 0.028 317.5)

  • #0C1509

    #0C1509

    oklch(18.3% 0.027 138.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170E1A

    #170E1A

    oklch(18.2% 0.028 317.5)

  • #11101E

    #11101E

    oklch(18.2% 0.028 286.5)

  • #1B0D14

    #1B0D14

    oklch(18.2% 0.027 348.7)

Open the analogous palette in the generator

Split complementary

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

  • #170E1A

    #170E1A

    oklch(18.2% 0.028 317.5)

  • #131305

    #131305

    oklch(18.2% 0.027 108.8)

  • #05160F

    #05160F

    oklch(18.2% 0.028 165.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170E1A

    #170E1A

    oklch(18.2% 0.028 317.5)

  • #191004

    #191004

    oklch(18.1% 0.028 75.7)

  • #021616

    #021616

    oklch(18.3% 0.028 195)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170E1A

    #170E1A

    oklch(18.2% 0.028 317.5)

  • #1C0E07

    #1C0E07

    oklch(18.2% 0.028 48)

  • #0C1509

    #0C1509

    oklch(18.3% 0.027 138.1)

  • #04141C

    #04141C

    oklch(18.1% 0.028 230.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #170E1A 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.