#172A49

Closest named color: Oxford Blue (#1B263B). oklch(28.6% 0.062 259.7), rgb(23, 42, 73).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.062)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.46:1
White text14.34:1

Values

HEX#172A49
RGBrgb(23, 42, 73)
HSLhsl(217, 52%, 19%)
OKLCHoklch(28.6% 0.062 259.7)

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 #172A49 14.34:1 AAA Lc -103.9 Preferred for body text
Black text on #172A49 1.46:1 Fails Lc 0.0 Not readable
#172A49 text on white 14.34:1 AAA Lc 101.0 Preferred for body text
#172A49 text on black 1.46: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

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF5

    oklch(88.5% 0.041 260.9)

  4. Step 300

    300

    #A5C2F1

    oklch(80.9% 0.074 260)

  5. Step 400

    400

    #74A1EA

    oklch(70.7% 0.118 259.8)

  6. Step 500

    500

    #4F88E4

    oklch(63.2% 0.151 259.5)

  7. Step 600

    600

    #336FD2

    oklch(55.6% 0.165 259.9)

  8. Step 700

    700

    #265DB5

    oklch(49.2% 0.151 259.6)

  9. Step 800

    800

    #204C93

    oklch(42.7% 0.127 259.6)

  10. Step 900

    900

    #204075

    oklch(37.7% 0.098 259.9)

  11. Step 950

    950 (this color)

    #172A49

    oklch(28.6% 0.062 259.7)

Export this scale for Tailwind in the Tailwind colors tool

#172A49 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)#1D2D4A0.013
Deuteranopia (no green cones)#1628480.007
Tritanopia (no blue cones)#0031360.052
Achromatopsia (no color)#2A2A2A0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #172A49

    #172A49

    oklch(28.6% 0.062 259.7)

  • #3A2600

    #3A2600

    oklch(28.6% 0.059 78.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172A49

    #172A49

    oklch(28.6% 0.062 259.7)

  • #002F41

    #002F41

    oklch(28.6% 0.057 230.1)

  • #2A2447

    #2A2447

    oklch(28.6% 0.063 289.7)

Open the analogous palette in the generator

Split complementary

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

  • #172A49

    #172A49

    oklch(28.6% 0.062 259.7)

  • #42200A

    #42200A

    oklch(28.6% 0.062 50.6)

  • #2D2D00

    #2D2D00

    oklch(28.8% 0.063 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172A49

    #172A49

    oklch(28.6% 0.062 259.7)

  • #441C1D

    #441C1D

    oklch(28.5% 0.062 20.2)

  • #183212

    #183212

    oklch(28.7% 0.063 139.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172A49

    #172A49

    oklch(28.6% 0.062 259.7)

  • #411C2F

    #411C2F

    oklch(28.7% 0.063 349.8)

  • #3A2600

    #3A2600

    oklch(28.6% 0.059 78.6)

  • #003326

    #003326

    oklch(28.6% 0.056 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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