#172C41

Closest named color: Oxford Blue (#1B263B). oklch(28.6% 0.047 249.8), rgb(23, 44, 65).

Aa

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

About this color

#172C41 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.047 and its hue 250°. 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.25:1.

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

Values

HEX#172C41
RGBrgb(23, 44, 65)
HSLhsl(210, 48%, 17%)
OKLCHoklch(28.6% 0.047 249.8)

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 #172C41 14.25:1 AAA Lc -103.9 Preferred for body text
Black text on #172C41 1.47:1 Fails Lc 0.0 Not readable
#172C41 text on white 14.25:1 AAA Lc 100.9 Preferred for body text
#172C41 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CADBED

    oklch(88.4% 0.031 249.7)

  4. Step 300

    300

    #A6C4E4

    oklch(80.9% 0.056 250.2)

  5. Step 400

    400

    #75A5D7

    oklch(70.7% 0.09 250.2)

  6. Step 500

    500

    #4F8ECC

    oklch(63.2% 0.114 249.7)

  7. Step 600

    600

    #3077B9

    oklch(55.7% 0.125 249.7)

  8. Step 700

    700

    #22649F

    oklch(49.2% 0.115 249.4)

  9. Step 800

    800

    #1E5181

    oklch(42.6% 0.096 250.1)

  10. Step 900

    900

    #1F4468

    oklch(37.8% 0.075 249.9)

  11. Step 950

    950 (this color)

    #172C41

    oklch(28.6% 0.047 249.8)

Export this scale for Tailwind in the Tailwind colors tool

#172C41 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)#232D420.017
Deuteranopia (no green cones)#1E29410.013
Tritanopia (no blue cones)#0031330.041
Achromatopsia (no color)#2A2A2A0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #172C41

    #172C41

    oklch(28.6% 0.047 249.8)

  • #39260E

    #39260E

    oklch(28.6% 0.047 70.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172C41

    #172C41

    oklch(28.6% 0.047 249.8)

  • #06303B

    #06303B

    oklch(28.7% 0.048 219.9)

  • #262842

    #262842

    oklch(28.8% 0.047 279.6)

Open the analogous palette in the generator

Split complementary

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

  • #172C41

    #172C41

    oklch(28.6% 0.047 249.8)

  • #3E2218

    #3E2218

    oklch(28.6% 0.047 40.3)

  • #302B0C

    #302B0C

    oklch(28.7% 0.048 100.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172C41

    #172C41

    oklch(28.6% 0.047 249.8)

  • #3E2025

    #3E2025

    oklch(28.6% 0.047 9.7)

  • #232F15

    #232F15

    oklch(28.6% 0.047 129.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172C41

    #172C41

    oklch(28.6% 0.047 249.8)

  • #3A2132

    #3A2132

    oklch(28.7% 0.047 339.7)

  • #39260E

    #39260E

    oklch(28.6% 0.047 70.3)

  • #123222

    #123222

    oklch(28.8% 0.048 159.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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