#171B46

Closest named color: Oxford Blue (#1B263B). oklch(24.7% 0.08 274.9), rgb(23, 27, 70).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (25%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.28:1
White text16.38:1

Values

HEX#171B46
RGBrgb(23, 27, 70)
HSLhsl(235, 51%, 18%)
OKLCHoklch(24.7% 0.08 274.9)

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 #171B46 16.38:1 AAA Lc -105.7 Preferred for body text
Black text on #171B46 1.28:1 Fails Lc 0.0 Not readable
#171B46 text on white 16.38:1 AAA Lc 103.2 Preferred for body text
#171B46 text on black 1.28: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

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CED7FD

    oklch(88.4% 0.053 274.8)

  4. Step 300

    300

    #AEBCFE

    oklch(80.8% 0.095 274.8)

  5. Step 400

    400

    #8697FD

    oklch(70.8% 0.15 274.8)

  6. Step 500

    500

    #6B79FB

    oklch(63.2% 0.192 274.9)

  7. Step 600

    600

    #555DEB

    oklch(55.6% 0.21 274.8)

  8. Step 700

    700

    #464BCC

    oklch(49% 0.195 274.8)

  9. Step 800

    800

    #393FA5

    oklch(42.7% 0.161 274.7)

  10. Step 900

    900

    #303783

    oklch(37.7% 0.126 274.6)

  11. Step 950

    950 (this color)

    #171B46

    oklch(24.7% 0.08 274.9)

Export this scale for Tailwind in the Tailwind colors tool

#171B46 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)#0122470.029
Deuteranopia (no green cones)#001E450.027
Tritanopia (no blue cones)#00252D0.069
Achromatopsia (no color)#2020200.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #171B46

    #171B46

    oklch(24.7% 0.08 274.9)

  • #292000

    #292000

    oklch(24.7% 0.051 93.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171B46

    #171B46

    oklch(24.7% 0.08 274.9)

  • #00233C

    #00233C

    oklch(24.7% 0.062 244.5)

  • #2A143F

    #2A143F

    oklch(24.7% 0.08 304.8)

Open the analogous palette in the generator

Split complementary

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

  • #171B46

    #171B46

    oklch(24.7% 0.08 274.9)

  • #331A00

    #331A00

    oklch(24.7% 0.056 63.8)

  • #1A2600

    #1A2600

    oklch(24.8% 0.063 125.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171B46

    #171B46

    oklch(24.7% 0.08 274.9)

  • #3F0D03

    #3F0D03

    oklch(24.7% 0.08 34.5)

  • #002913

    #002913

    oklch(24.7% 0.061 154.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171B46

    #171B46

    oklch(24.7% 0.08 274.9)

  • #3E0B1C

    #3E0B1C

    oklch(24.8% 0.08 5)

  • #292000

    #292000

    oklch(24.7% 0.051 93.6)

  • #002724

    #002724

    oklch(24.6% 0.043 187.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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