#172A47

Closest named color: Oxford Blue (#1B263B). oklch(28.5% 0.059 258.6), rgb(23, 42, 71).

Aa

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

About this color

#172A47 is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.059 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.023 away. White text reads best on it, at 14.39:1.

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.059)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.45:1
White text14.39:1

Values

HEX#172A47
RGBrgb(23, 42, 71)
HSLhsl(216, 51%, 18%)
OKLCHoklch(28.5% 0.059 258.6)

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 #172A47 14.39:1 AAA Lc -104.0 Preferred for body text
Black text on #172A47 1.45:1 Fails Lc 0.0 Not readable
#172A47 text on white 14.39:1 AAA Lc 101.0 Preferred for body text
#172A47 text on black 1.45: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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EBF8

    oklch(93.7% 0.02 257.5)

  3. Step 200

    200

    #CADAF3

    oklch(88.4% 0.039 259.3)

  4. Step 300

    300

    #A5C2EE

    oklch(80.8% 0.07 258.6)

  5. Step 400

    400

    #75A2E6

    oklch(70.8% 0.112 258.4)

  6. Step 500

    500

    #5089DF

    oklch(63.2% 0.143 258.4)

  7. Step 600

    600

    #3471CD

    oklch(55.7% 0.156 258.6)

  8. Step 700

    700

    #265EB1

    oklch(49.1% 0.145 258.5)

  9. Step 800

    800

    #214D8F

    oklch(42.7% 0.12 258.6)

  10. Step 900

    900

    #204172

    oklch(37.7% 0.093 258.2)

  11. Step 950

    950 (this color)

    #172A47

    oklch(28.5% 0.059 258.6)

Export this scale for Tailwind in the Tailwind colors tool

#172A47 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)#1E2C480.012
Deuteranopia (no green cones)#1728460.007
Tritanopia (no blue cones)#0031350.051
Achromatopsia (no color)#2A2A2A0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #172A47

    #172A47

    oklch(28.5% 0.059 258.6)

  • #3A2600

    #3A2600

    oklch(28.6% 0.059 78.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172A47

    #172A47

    oklch(28.5% 0.059 258.6)

  • #002F40

    #002F40

    oklch(28.5% 0.056 228.7)

  • #292545

    #292545

    oklch(28.6% 0.058 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #172A47

    #172A47

    oklch(28.5% 0.059 258.6)

  • #41200D

    #41200D

    oklch(28.5% 0.059 48.7)

  • #2D2C02

    #2D2C02

    oklch(28.5% 0.059 108.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172A47

    #172A47

    oklch(28.5% 0.059 258.6)

  • #431D1E

    #431D1E

    oklch(28.6% 0.059 19.9)

  • #1A3113

    #1A3113

    oklch(28.5% 0.059 138.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172A47

    #172A47

    oklch(28.5% 0.059 258.6)

  • #3F1D2F

    #3F1D2F

    oklch(28.5% 0.059 348.5)

  • #3A2600

    #3A2600

    oklch(28.6% 0.059 78.6)

  • #003325

    #003325

    oklch(28.5% 0.057 168.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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