#171746

Closest named color: Dark Indigo (#1F0954). oklch(23.8% 0.086 277.7), rgb(23, 23, 70).

Aa

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

About this color

#171746 is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.086 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.039 away. White text reads best on it, at 16.83:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameDark Indigo (#1F0954)
Black text1.24:1
White text16.83:1

Values

HEX#171746
RGBrgb(23, 23, 70)
HSLhsl(240, 51%, 18%)
OKLCHoklch(23.8% 0.086 277.7)

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 #171746 16.83:1 AAA Lc -106.0 Preferred for body text
Black text on #171746 1.24:1 Fails Lc 0.0 Not readable
#171746 text on white 16.83:1 AAA Lc 103.5 Preferred for body text
#171746 text on black 1.24: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E5E8FE

    oklch(93.5% 0.03 279.6)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300

    #B1BBFF

    oklch(80.9% 0.097 277.5)

  5. Step 400

    400

    #8B95FF

    oklch(70.8% 0.154 277.6)

  6. Step 500

    500

    #7175FF

    oklch(63.1% 0.201 277.7)

  7. Step 600

    600

    #5C56F2

    oklch(55.5% 0.226 277.8)

  8. Step 700

    700

    #4C45D3

    oklch(49.1% 0.21 277.5)

  9. Step 800

    800

    #3E3AAB

    oklch(42.7% 0.175 277.6)

  10. Step 900

    900

    #343487

    oklch(37.7% 0.135 277.7)

  11. Step 950

    950 (this color)

    #171746

    oklch(23.8% 0.086 277.7)

Export this scale for Tailwind in the Tailwind colors tool

#171746 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)#001F480.033
Deuteranopia (no green cones)#001B450.030
Tritanopia (no blue cones)#00222B0.073
Achromatopsia (no color)#1D1D1D0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #171746

    #171746

    oklch(23.8% 0.086 277.7)

  • #251F00

    #251F00

    oklch(23.9% 0.049 98.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171746

    #171746

    oklch(23.8% 0.086 277.7)

  • #00203B

    #00203B

    oklch(23.8% 0.064 247.9)

  • #2A0F3D

    #2A0F3D

    oklch(23.7% 0.086 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #171746

    #171746

    oklch(23.8% 0.086 277.7)

  • #2F1900

    #2F1900

    oklch(23.8% 0.053 67.1)

  • #162400

    #162400

    oklch(23.8% 0.062 128.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171746

    #171746

    oklch(23.8% 0.086 277.7)

  • #3C0C00

    #3C0C00

    oklch(23.9% 0.079 37.8)

  • #002614

    #002614

    oklch(23.7% 0.055 158)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171746

    #171746

    oklch(23.8% 0.086 277.7)

  • #3D0517

    #3D0517

    oklch(23.8% 0.085 7.8)

  • #251F00

    #251F00

    oklch(23.9% 0.049 98.8)

  • #002522

    #002522

    oklch(23.8% 0.042 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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