#171A34

Closest named color: Rich Black (#0D1B2A). oklch(23% 0.05 276.7), rgb(23, 26, 52).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.050)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text17.02:1

Values

HEX#171A34
RGBrgb(23, 26, 52)
HSLhsl(234, 39%, 15%)
OKLCHoklch(23% 0.05 276.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 #171A34 17.02:1 AAA Lc -106.2 Preferred for body text
Black text on #171A34 1.23:1 Fails Lc 0.0 Not readable
#171A34 text on white 17.02:1 AAA Lc 103.9 Preferred for body text
#171A34 text on black 1.23: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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D3D8EF

    oklch(88.5% 0.032 276)

  4. Step 300

    300

    #B6BEE8

    oklch(80.9% 0.06 276.5)

  5. Step 400

    400

    #919BDC

    oklch(70.7% 0.096 276.9)

  6. Step 500

    500

    #7781D2

    oklch(63% 0.122 277)

  7. Step 600

    600

    #6169BF

    oklch(55.5% 0.132 277.2)

  8. Step 700

    700

    #5057A5

    oklch(49% 0.124 277)

  9. Step 800

    800

    #414886

    oklch(42.7% 0.102 276.3)

  10. Step 900

    900

    #373D6B

    oklch(37.8% 0.079 276.3)

  11. Step 950

    950 (this color)

    #171A34

    oklch(23% 0.05 276.7)

Export this scale for Tailwind in the Tailwind colors tool

#171A34 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)#101D350.013
Deuteranopia (no green cones)#0E1B330.014
Tritanopia (no blue cones)#0C1F240.044
Achromatopsia (no color)#1C1C1C0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #171A34

    #171A34

    oklch(23% 0.05 276.7)

  • #231D00

    #231D00

    oklch(23.1% 0.048 98.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171A34

    #171A34

    oklch(23% 0.05 276.7)

  • #061E33

    #061E33

    oklch(22.9% 0.051 248.1)

  • #23162F

    #23162F

    oklch(23% 0.05 306.9)

Open the analogous palette in the generator

Split complementary

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

  • #171A34

    #171A34

    oklch(23% 0.05 276.7)

  • #2C1700

    #2C1700

    oklch(22.9% 0.051 66.9)

  • #172105

    #172105

    oklch(23% 0.049 126.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171A34

    #171A34

    oklch(23% 0.05 276.7)

  • #30130B

    #30130B

    oklch(22.9% 0.05 36.4)

  • #032413

    #032413

    oklch(23.1% 0.051 156.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171A34

    #171A34

    oklch(23% 0.05 276.7)

  • #301219

    #301219

    oklch(23.1% 0.05 7.1)

  • #231D00

    #231D00

    oklch(23.1% 0.048 98.3)

  • #002320

    #002320

    oklch(23.1% 0.04 186.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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