#171D46

Closest named color: Oxford Blue (#1B263B). oklch(25.1% 0.077 273.3), rgb(23, 29, 70).

Aa

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

About this color

#171D46 is a dark, moderately saturated blue. In OKLCH its lightness is 25%, its chroma 0.077 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.040 away. White text reads best on it, at 16.14:1.

Hue familyBlues
Lightnessdark (25%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.30:1
White text16.14:1

Values

HEX#171D46
RGBrgb(23, 29, 70)
HSLhsl(232, 51%, 18%)
OKLCHoklch(25.1% 0.077 273.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 #171D46 16.14:1 AAA Lc -105.5 Preferred for body text
Black text on #171D46 1.30:1 Fails Lc 0.0 Not readable
#171D46 text on white 16.14:1 AAA Lc 102.9 Preferred for body text
#171D46 text on black 1.30: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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CED8FB

    oklch(88.6% 0.049 272.8)

  4. Step 300

    300

    #ADBDFC

    oklch(80.9% 0.091 273.2)

  5. Step 400

    400

    #8498FA

    oklch(70.7% 0.145 273.4)

  6. Step 500

    500

    #687BF7

    oklch(63.1% 0.185 273.4)

  7. Step 600

    600

    #5260E6

    oklch(55.6% 0.201 273.4)

  8. Step 700

    700

    #434EC8

    oklch(49% 0.187 273.3)

  9. Step 800

    800

    #3741A2

    oklch(42.7% 0.155 273.4)

  10. Step 900

    900

    #2F3880

    oklch(37.6% 0.121 273.7)

  11. Step 950

    950 (this color)

    #171D46

    oklch(25.1% 0.077 273.3)

Export this scale for Tailwind in the Tailwind colors tool

#171D46 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)#0623470.024
Deuteranopia (no green cones)#001F450.026
Tritanopia (no blue cones)#00262E0.065
Achromatopsia (no color)#2121210.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #171D46

    #171D46

    oklch(25.1% 0.077 273.3)

  • #2A2100

    #2A2100

    oklch(25.1% 0.051 93.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171D46

    #171D46

    oklch(25.1% 0.077 273.3)

  • #00243D

    #00243D

    oklch(25.1% 0.062 244)

  • #2A163F

    #2A163F

    oklch(25.1% 0.076 303.9)

Open the analogous palette in the generator

Split complementary

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

  • #171D46

    #171D46

    oklch(25.1% 0.077 273.3)

  • #351B00

    #351B00

    oklch(25.3% 0.057 63.4)

  • #1C2600

    #1C2600

    oklch(25% 0.061 123.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171D46

    #171D46

    oklch(25.1% 0.077 273.3)

  • #3F0F06

    #3F0F06

    oklch(25% 0.077 33.2)

  • #002A12

    #002A12

    oklch(25% 0.064 153.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171D46

    #171D46

    oklch(25.1% 0.077 273.3)

  • #3E0D1E

    #3E0D1E

    oklch(25.1% 0.077 3.4)

  • #2A2100

    #2A2100

    oklch(25.1% 0.051 93.9)

  • #002924

    #002924

    oklch(25.2% 0.045 182.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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