#172A48

Closest named color: Oxford Blue (#1B263B). oklch(28.6% 0.061 259.2), rgb(23, 42, 72).

Aa

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

About this color

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

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

Values

HEX#172A48
RGBrgb(23, 42, 72)
HSLhsl(217, 52%, 19%)
OKLCHoklch(28.6% 0.061 259.2)

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 #172A48 14.37:1 AAA Lc -104.0 Preferred for body text
Black text on #172A48 1.46:1 Fails Lc 0.0 Not readable
#172A48 text on white 14.37:1 AAA Lc 101.0 Preferred for body text
#172A48 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

    #E2EBF8

    oklch(93.7% 0.02 257.5)

  3. Step 200

    200

    #CADAF4

    oklch(88.4% 0.04 260.1)

  4. Step 300

    300

    #A5C2F0

    oklch(80.9% 0.073 259.5)

  5. Step 400

    400

    #74A1E8

    oklch(70.6% 0.116 259.2)

  6. Step 500

    500

    #5088E1

    oklch(63.1% 0.147 259.3)

  7. Step 600

    600

    #3370CF

    oklch(55.6% 0.16 259.1)

  8. Step 700

    700

    #265DB3

    oklch(49% 0.149 259.3)

  9. Step 800

    800

    #214D91

    oklch(42.8% 0.122 259)

  10. Step 900

    900

    #204074

    oklch(37.6% 0.097 259.6)

  11. Step 950

    950 (this color)

    #172A48

    oklch(28.6% 0.061 259.2)

Export this scale for Tailwind in the Tailwind colors tool

#172A48 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)#1D2C490.011
Deuteranopia (no green cones)#1728470.007
Tritanopia (no blue cones)#0031350.052
Achromatopsia (no color)#2A2A2A0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #172A48

    #172A48

    oklch(28.6% 0.061 259.2)

  • #3A2600

    #3A2600

    oklch(28.6% 0.059 78.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172A48

    #172A48

    oklch(28.6% 0.061 259.2)

  • #002F40

    #002F40

    oklch(28.5% 0.056 228.7)

  • #2A2446

    #2A2446

    oklch(28.5% 0.061 290.1)

Open the analogous palette in the generator

Split complementary

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

  • #172A48

    #172A48

    oklch(28.6% 0.061 259.2)

  • #42200C

    #42200C

    oklch(28.6% 0.061 48.9)

  • #2D2C01

    #2D2C01

    oklch(28.5% 0.06 108.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172A48

    #172A48

    oklch(28.6% 0.061 259.2)

  • #441C1E

    #441C1E

    oklch(28.6% 0.062 18.7)

  • #193112

    #193112

    oklch(28.5% 0.061 139)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172A48

    #172A48

    oklch(28.6% 0.061 259.2)

  • #401C2F

    #401C2F

    oklch(28.5% 0.062 348.9)

  • #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 #172A48, closest first.

Similar named colors

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

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