#171B39

Closest named color: Rich Black (#0D1B2A). oklch(23.6% 0.057 275.4), rgb(23, 27, 57).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.057)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.25:1
White text16.76:1

Values

HEX#171B39
RGBrgb(23, 27, 57)
HSLhsl(233, 43%, 16%)
OKLCHoklch(23.6% 0.057 275.4)

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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E6E9F7

    oklch(93.6% 0.019 276.3)

  3. Step 200

    200

    #D2D8F3

    oklch(88.6% 0.038 275.7)

  4. Step 300

    300

    #B4BEED

    oklch(81% 0.067 275.4)

  5. Step 400

    400

    #8D9BE4

    oklch(70.7% 0.108 275)

  6. Step 500

    500

    #7280DC

    oklch(63% 0.139 275.2)

  7. Step 600

    600

    #5C68CA

    oklch(55.7% 0.15 275.2)

  8. Step 700

    700

    #4C56AF

    oklch(49.2% 0.14 275.2)

  9. Step 800

    800

    #3E468D

    oklch(42.6% 0.116 275.5)

  10. Step 900

    900

    #353C71

    oklch(37.8% 0.09 275.5)

  11. Step 950

    950 (this color)

    #171B39

    oklch(23.6% 0.057 275.4)

Export this scale for Tailwind in the Tailwind colors tool

#171B39 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)#0E1F3A0.017
Deuteranopia (no green cones)#0B1C380.017
Tritanopia (no blue cones)#0921270.049
Achromatopsia (no color)#1D1D1D0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #171B39

    #171B39

    oklch(23.6% 0.057 275.4)

  • #251E00

    #251E00

    oklch(23.6% 0.049 96.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171B39

    #171B39

    oklch(23.6% 0.057 275.4)

  • #012037

    #012037

    oklch(23.5% 0.057 244.8)

  • #251634

    #251634

    oklch(23.6% 0.058 305.5)

Open the analogous palette in the generator

Split complementary

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

  • #171B39

    #171B39

    oklch(23.6% 0.057 275.4)

  • #2F1800

    #2F1800

    oklch(23.6% 0.053 64.9)

  • #182301

    #182301

    oklch(23.7% 0.058 125.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171B39

    #171B39

    oklch(23.6% 0.057 275.4)

  • #35120A

    #35120A

    oklch(23.6% 0.059 34.3)

  • #002612

    #002612

    oklch(23.6% 0.058 155.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171B39

    #171B39

    oklch(23.6% 0.057 275.4)

  • #34111A

    #34111A

    oklch(23.7% 0.057 6.5)

  • #251E00

    #251E00

    oklch(23.6% 0.049 96.6)

  • #002521

    #002521

    oklch(23.8% 0.042 184.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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