#170E18

Closest named color: Almost Black (#070D0D). oklch(18.1% 0.024 323.1), rgb(23, 14, 24).

Aa

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

About this color

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

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

Values

HEX#170E18
RGBrgb(23, 14, 24)
HSLhsl(294, 26%, 7%)
OKLCHoklch(18.1% 0.024 323.1)

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 #170E18 18.87:1 AAA Lc -107.4 Preferred for body text
Black text on #170E18 1.11:1 Fails Lc 0.0 Not readable
#170E18 text on white 18.87:1 AAA Lc 105.3 Preferred for body text
#170E18 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

    #F7F5F7

    oklch(97.2% 0.003 325.6)

  2. Step 100

    100

    #EDE8ED

    oklch(93.6% 0.009 325.6)

  3. Step 200

    200

    #DFD6DF

    oklch(88.6% 0.016 325.7)

  4. Step 300

    300

    #CABBCC

    oklch(81% 0.029 322.2)

  5. Step 400

    400

    #AF97B2

    oklch(70.6% 0.047 322.5)

  6. Step 500

    500

    #9B7E9E

    oklch(63.1% 0.058 323.2)

  7. Step 600

    600

    #866789

    oklch(55.7% 0.063 323.5)

  8. Step 700

    700

    #715575

    oklch(49% 0.061 322.2)

  9. Step 800

    800

    #5C465F

    oklch(42.7% 0.049 322.4)

  10. Step 900

    900

    #4C3B4E

    oklch(37.8% 0.039 322.8)

  11. Step 950

    950 (this color)

    #170E18

    oklch(18.1% 0.024 323.1)

Export this scale for Tailwind in the Tailwind colors tool

#170E18 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)#0D10180.021
Deuteranopia (no green cones)#0F11180.019
Tritanopia (no blue cones)#170F120.014
Achromatopsia (no color)#1111110.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #170E18

    #170E18

    oklch(18.1% 0.024 323.1)

  • #0B150B

    #0B150B

    oklch(18.2% 0.025 144.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170E18

    #170E18

    oklch(18.1% 0.024 323.1)

  • #12101C

    #12101C

    oklch(18.2% 0.024 291.4)

  • #1A0D13

    #1A0D13

    oklch(18% 0.025 350.7)

Open the analogous palette in the generator

Split complementary

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

  • #170E18

    #170E18

    oklch(18.1% 0.024 323.1)

  • #121306

    #121306

    oklch(18.1% 0.025 112.3)

  • #051511

    #051511

    oklch(18% 0.024 175.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170E18

    #170E18

    oklch(18.1% 0.024 323.1)

  • #171105

    #171105

    oklch(18.1% 0.025 85.1)

  • #041517

    #041517

    oklch(18.2% 0.024 205)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170E18

    #170E18

    oklch(18.1% 0.024 323.1)

  • #1A0F07

    #1A0F07

    oklch(18.1% 0.024 57.5)

  • #0B150B

    #0B150B

    oklch(18.2% 0.025 144.5)

  • #06141B

    #06141B

    oklch(18.2% 0.025 231)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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