#171E2D

Closest named color: Rich Black (#0D1B2A). oklch(23.6% 0.031 264.9), rgb(23, 30, 45).

Aa

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

About this color

#171E2D is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.031 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.020 away. White text reads best on it, at 16.66:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.031)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.26:1
White text16.66:1

Values

HEX#171E2D
RGBrgb(23, 30, 45)
HSLhsl(221, 32%, 13%)
OKLCHoklch(23.6% 0.031 264.9)

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 #171E2D 16.66:1 AAA Lc -106.0 Preferred for body text
Black text on #171E2D 1.26:1 Fails Lc 0.0 Not readable
#171E2D text on white 16.66:1 AAA Lc 103.6 Preferred for body text
#171E2D text on black 1.26: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF1

    oklch(93.6% 0.01 261.8)

  3. Step 200

    200

    #D2D9E7

    oklch(88.4% 0.021 264.5)

  4. Step 300

    300

    #B5C1D9

    oklch(80.9% 0.036 264.3)

  5. Step 400

    400

    #8FA1C6

    oklch(70.8% 0.058 264.6)

  6. Step 500

    500

    #7389B7

    oklch(63.1% 0.074 264.6)

  7. Step 600

    600

    #5C72A3

    oklch(55.5% 0.081 265.3)

  8. Step 700

    700

    #4B608C

    oklch(49.1% 0.076 264.3)

  9. Step 800

    800

    #3E4E72

    oklch(42.7% 0.064 265.5)

  10. Step 900

    900

    #35415C

    oklch(37.7% 0.049 265.7)

  11. Step 950

    950 (this color)

    #171E2D

    oklch(23.6% 0.031 264.9)

Export this scale for Tailwind in the Tailwind colors tool

#171E2D 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)#191F2E0.005
Deuteranopia (no green cones)#171D2D0.004
Tritanopia (no blue cones)#1021230.028
Achromatopsia (no color)#1E1E1E0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #171E2D

    #171E2D

    oklch(23.6% 0.031 264.9)

  • #251D0C

    #251D0C

    oklch(23.5% 0.031 84.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171E2D

    #171E2D

    oklch(23.6% 0.031 264.9)

  • #0F212B

    #0F212B

    oklch(23.7% 0.031 234.4)

  • #1F1B2B

    #1F1B2B

    oklch(23.5% 0.031 295.4)

Open the analogous palette in the generator

Split complementary

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

  • #171E2D

    #171E2D

    oklch(23.6% 0.031 264.9)

  • #2A1A10

    #2A1A10

    oklch(23.6% 0.031 52.7)

  • #1E200F

    #1E200F

    oklch(23.6% 0.03 114.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171E2D

    #171E2D

    oklch(23.6% 0.031 264.9)

  • #2B1817

    #2B1817

    oklch(23.4% 0.031 23)

  • #152215

    #152215

    oklch(23.5% 0.031 144.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171E2D

    #171E2D

    oklch(23.6% 0.031 264.9)

  • #2A181F

    #2A181F

    oklch(23.6% 0.031 354.8)

  • #251D0C

    #251D0C

    oklch(23.5% 0.031 84.8)

  • #0D231D

    #0D231D

    oklch(23.6% 0.031 173.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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