#172C42

Closest named color: Oxford Blue (#1B263B). oklch(28.7% 0.049 250.9), rgb(23, 44, 66).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.049)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.47:1
White text14.23:1

Values

HEX#172C42
RGBrgb(23, 44, 66)
HSLhsl(211, 48%, 17%)
OKLCHoklch(28.7% 0.049 250.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 #172C42 14.23:1 AAA Lc -103.8 Preferred for body text
Black text on #172C42 1.47:1 Fails Lc 0.0 Not readable
#172C42 text on white 14.23:1 AAA Lc 100.9 Preferred for body text
#172C42 text on black 1.47: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CADBEE

    oklch(88.5% 0.032 251.1)

  4. Step 300

    300

    #A5C4E5

    oklch(80.9% 0.058 250.2)

  5. Step 400

    400

    #74A5D9

    oklch(70.8% 0.093 250.7)

  6. Step 500

    500

    #4E8DCE

    oklch(63% 0.118 250.9)

  7. Step 600

    600

    #2F76BB

    oklch(55.5% 0.128 250.8)

  8. Step 700

    700

    #2263A2

    oklch(49.1% 0.12 251.2)

  9. Step 800

    800

    #1E5183

    oklch(42.7% 0.099 251)

  10. Step 900

    900

    #1F4369

    oklch(37.6% 0.078 251.7)

  11. Step 950

    950 (this color)

    #172C42

    oklch(28.7% 0.049 250.9)

Export this scale for Tailwind in the Tailwind colors tool

#172C42 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)#232D430.017
Deuteranopia (no green cones)#1D29420.012
Tritanopia (no blue cones)#0031340.041
Achromatopsia (no color)#2B2B2B0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #172C42

    #172C42

    oklch(28.7% 0.049 250.9)

  • #3A260C

    #3A260C

    oklch(28.7% 0.049 70.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172C42

    #172C42

    oklch(28.7% 0.049 250.9)

  • #05303C

    #05303C

    oklch(28.8% 0.049 221.5)

  • #262742

    #262742

    oklch(28.5% 0.049 281.2)

Open the analogous palette in the generator

Split complementary

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

  • #172C42

    #172C42

    oklch(28.7% 0.049 250.9)

  • #3F2217

    #3F2217

    oklch(28.8% 0.049 41.4)

  • #302B0B

    #302B0B

    oklch(28.7% 0.049 100.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172C42

    #172C42

    oklch(28.7% 0.049 250.9)

  • #3F2025

    #3F2025

    oklch(28.7% 0.048 10.2)

  • #222F15

    #222F15

    oklch(28.6% 0.048 130.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172C42

    #172C42

    oklch(28.7% 0.049 250.9)

  • #3B2032

    #3B2032

    oklch(28.6% 0.05 340.5)

  • #3A260C

    #3A260C

    oklch(28.7% 0.049 70.5)

  • #103223

    #103223

    oklch(28.7% 0.049 161.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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