#172D48

Closest named color: Oxford Blue (#1B263B). oklch(29.4% 0.057 254.5), rgb(23, 45, 72).

Aa

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

About this color

#172D48 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.057 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.029 away. White text reads best on it, at 13.95:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.057)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.50:1
White text13.95:1

Values

HEX#172D48
RGBrgb(23, 45, 72)
HSLhsl(213, 52%, 19%)
OKLCHoklch(29.4% 0.057 254.5)

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 #172D48 13.95:1 AAA Lc -103.5 Preferred for body text
Black text on #172D48 1.50:1 Fails Lc 0.0 Not readable
#172D48 text on white 13.95:1 AAA Lc 100.5 Preferred for body text
#172D48 text on black 1.50: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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF2

    oklch(88.5% 0.037 254.6)

  4. Step 300

    300

    #A3C3EC

    oklch(80.8% 0.068 254.8)

  5. Step 400

    400

    #71A3E3

    oklch(70.6% 0.109 255)

  6. Step 500

    500

    #498BDB

    oklch(63.1% 0.139 254.5)

  7. Step 600

    600

    #2973C8

    oklch(55.5% 0.15 254.6)

  8. Step 700

    700

    #1B60AD

    oklch(49% 0.14 254.6)

  9. Step 800

    800

    #194F8C

    oklch(42.7% 0.115 254.3)

  10. Step 900

    900

    #1C4270

    oklch(37.7% 0.09 254.8)

  11. Step 950

    950 (this color)

    #172D48

    oklch(29.4% 0.057 254.5)

Export this scale for Tailwind in the Tailwind colors tool

#172D48 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)#222F490.017
Deuteranopia (no green cones)#1B2A470.010
Tritanopia (no blue cones)#0033370.047
Achromatopsia (no color)#2C2C2C0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #172D48

    #172D48

    oklch(29.4% 0.057 254.5)

  • #3D2705

    #3D2705

    oklch(29.3% 0.057 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172D48

    #172D48

    oklch(29.4% 0.057 254.5)

  • #003241

    #003241

    oklch(29.5% 0.056 224.3)

  • #292847

    #292847

    oklch(29.4% 0.056 283.9)

Open the analogous palette in the generator

Split complementary

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

  • #172D48

    #172D48

    oklch(29.4% 0.057 254.5)

  • #432213

    #432213

    oklch(29.3% 0.056 44.4)

  • #312D05

    #312D05

    oklch(29.3% 0.057 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172D48

    #172D48

    oklch(29.4% 0.057 254.5)

  • #441F23

    #441F23

    oklch(29.3% 0.057 14.4)

  • #203214

    #203214

    oklch(29.3% 0.056 134.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172D48

    #172D48

    oklch(29.4% 0.057 254.5)

  • #402033

    #402033

    oklch(29.4% 0.057 344.6)

  • #3D2705

    #3D2705

    oklch(29.3% 0.057 73.4)

  • #073525

    #073525

    oklch(29.4% 0.057 164.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #172D48 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.