#171239

Closest named color: Navy Blue (#001146). oklch(21.5% 0.073 284.3), rgb(23, 18, 57).

Aa

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

About this color

#171239 is a very dark, moderately saturated purple. In OKLCH its lightness is 22%, its chroma 0.073 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.044 away. White text reads best on it, at 17.76:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.18:1
White text17.76:1

Values

HEX#171239
RGBrgb(23, 18, 57)
HSLhsl(248, 52%, 15%)
OKLCHoklch(21.5% 0.073 284.3)

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 #171239 17.76:1 AAA Lc -106.6 Preferred for body text
Black text on #171239 1.18:1 Fails Lc 0.0 Not readable
#171239 text on white 17.76:1 AAA Lc 104.4 Preferred for body text
#171239 text on black 1.18: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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FA

    oklch(93.6% 0.024 283.4)

  3. Step 200

    200

    #D5D6F8

    oklch(88.6% 0.047 284.1)

  4. Step 300

    300

    #BABAF7

    oklch(81% 0.086 284.3)

  5. Step 400

    400

    #9793F3

    oklch(70.7% 0.138 284.2)

  6. Step 500

    500

    #8075EE

    oklch(63.1% 0.176 284.3)

  7. Step 600

    600

    #6B5ADD

    oklch(55.6% 0.192 284.1)

  8. Step 700

    700

    #5A49BF

    oklch(49.1% 0.177 284.3)

  9. Step 800

    800

    #493D9B

    oklch(42.7% 0.147 284.1)

  10. Step 900

    900

    #3D357B

    oklch(37.7% 0.115 284.7)

  11. Step 950

    950 (this color)

    #171239

    oklch(21.5% 0.073 284.3)

Export this scale for Tailwind in the Tailwind colors tool

#171239 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)#00193A0.036
Deuteranopia (no green cones)#0017380.036
Tritanopia (no blue cones)#0A1B230.061
Achromatopsia (no color)#1818180.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #171239

    #171239

    oklch(21.5% 0.073 284.3)

  • #1D1A00

    #1D1A00

    oklch(21.4% 0.045 103.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171239

    #171239

    oklch(21.5% 0.073 284.3)

  • #001938

    #001938

    oklch(21.5% 0.069 254.1)

  • #250C30

    #250C30

    oklch(21.4% 0.072 314)

Open the analogous palette in the generator

Split complementary

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

  • #171239

    #171239

    oklch(21.5% 0.073 284.3)

  • #261600

    #261600

    oklch(21.6% 0.046 74.4)

  • #0C1F00

    #0C1F00

    oklch(21.4% 0.062 134.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171239

    #171239

    oklch(21.5% 0.073 284.3)

  • #300D00

    #300D00

    oklch(21.6% 0.063 43.9)

  • #002014

    #002014

    oklch(21.6% 0.046 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171239

    #171239

    oklch(21.5% 0.073 284.3)

  • #33060F

    #33060F

    oklch(21.5% 0.072 14)

  • #1D1A00

    #1D1A00

    oklch(21.4% 0.045 103.7)

  • #001F1E

    #001F1E

    oklch(21.6% 0.037 191.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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