#172B4D

Closest named color: Oxford Blue (#1B263B). oklch(29.2% 0.068 260.4), rgb(23, 43, 77).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.068)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.48:1
White text14.10:1

Values

HEX#172B4D
RGBrgb(23, 43, 77)
HSLhsl(218, 54%, 20%)
OKLCHoklch(29.2% 0.068 260.4)

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 #172B4D 14.10:1 AAA Lc -103.7 Preferred for body text
Black text on #172B4D 1.48:1 Fails Lc 0.0 Not readable
#172B4D text on white 14.10:1 AAA Lc 100.6 Preferred for body text
#172B4D text on black 1.48: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFA

    oklch(93.5% 0.024 262.1)

  3. Step 200

    200

    #C9DAF7

    oklch(88.5% 0.044 261.2)

  4. Step 300

    300

    #A3C2F5

    oklch(80.9% 0.08 260.3)

  5. Step 400

    400

    #71A0F0

    oklch(70.6% 0.128 260.6)

  6. Step 500

    500

    #4B86EB

    oklch(63% 0.164 260.4)

  7. Step 600

    600

    #2E6DD9

    oklch(55.5% 0.178 260.5)

  8. Step 700

    700

    #215BBC

    oklch(49.1% 0.165 260.2)

  9. Step 800

    800

    #1D4B98

    oklch(42.7% 0.136 260.2)

  10. Step 900

    900

    #1D3F79

    oklch(37.6% 0.107 260.4)

  11. Step 950

    950 (this color)

    #172B4D

    oklch(29.2% 0.068 260.4)

Export this scale for Tailwind in the Tailwind colors tool

#172B4D 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)#1C2E4E0.012
Deuteranopia (no green cones)#14294C0.008
Tritanopia (no blue cones)#0033380.057
Achromatopsia (no color)#2B2B2B0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #172B4D

    #172B4D

    oklch(29.2% 0.068 260.4)

  • #3B2800

    #3B2800

    oklch(29.2% 0.06 81)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172B4D

    #172B4D

    oklch(29.2% 0.068 260.4)

  • #003143

    #003143

    oklch(29.3% 0.058 229.3)

  • #2C254B

    #2C254B

    oklch(29.3% 0.068 290)

Open the analogous palette in the generator

Split complementary

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

  • #172B4D

    #172B4D

    oklch(29.2% 0.068 260.4)

  • #462007

    #462007

    oklch(29.2% 0.068 50.1)

  • #2E2E00

    #2E2E00

    oklch(29.2% 0.064 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172B4D

    #172B4D

    oklch(29.2% 0.068 260.4)

  • #481C1D

    #481C1D

    oklch(29.2% 0.068 20.8)

  • #173411

    #173411

    oklch(29.3% 0.069 140.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172B4D

    #172B4D

    oklch(29.2% 0.068 260.4)

  • #441C30

    #441C30

    oklch(29.2% 0.067 350.8)

  • #3B2800

    #3B2800

    oklch(29.2% 0.06 81)

  • #003527

    #003527

    oklch(29.2% 0.058 169.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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