#172F4A

Closest named color: Prussian Blue (#1D3557). oklch(30% 0.058 252.7), rgb(23, 47, 74).

Aa

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

About this color

#172F4A is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.058 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.030 away. White text reads best on it, at 13.61:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.058)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.54:1
White text13.61:1

Values

HEX#172F4A
RGBrgb(23, 47, 74)
HSLhsl(212, 53%, 19%)
OKLCHoklch(30% 0.058 252.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 #172F4A 13.61:1 AAA Lc -103.1 Preferred for body text
Black text on #172F4A 1.54:1 Fails Lc 0.0 Not readable
#172F4A text on white 13.61:1 AAA Lc 100.0 Preferred for body text
#172F4A text on black 1.54: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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A2C4EC

    oklch(80.9% 0.068 252.7)

  5. Step 400

    400

    #6DA4E3

    oklch(70.6% 0.11 252.7)

  6. Step 500

    500

    #448CDB

    oklch(63.1% 0.14 252.7)

  7. Step 600

    600

    #2074C9

    oklch(55.5% 0.153 252.9)

  8. Step 700

    700

    #1061AE

    oklch(49.1% 0.142 252.9)

  9. Step 800

    800

    #13508D

    oklch(42.8% 0.117 252.7)

  10. Step 900

    900

    #184370

    oklch(37.8% 0.09 252.3)

  11. Step 950

    950 (this color)

    #172F4A

    oklch(30% 0.058 252.7)

Export this scale for Tailwind in the Tailwind colors tool

#172F4A 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)#23304B0.016
Deuteranopia (no green cones)#1D2C490.011
Tritanopia (no blue cones)#0035390.046
Achromatopsia (no color)#2E2E2E0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #172F4A

    #172F4A

    oklch(30% 0.058 252.7)

  • #3F2906

    #3F2906

    oklch(30.1% 0.058 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172F4A

    #172F4A

    oklch(30% 0.058 252.7)

  • #003442

    #003442

    oklch(30.1% 0.056 221.9)

  • #2A2A4A

    #2A2A4A

    oklch(30.1% 0.057 282.4)

Open the analogous palette in the generator

Split complementary

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

  • #172F4A

    #172F4A

    oklch(30% 0.058 252.7)

  • #462315

    #462315

    oklch(30% 0.058 42.1)

  • #332F05

    #332F05

    oklch(30% 0.059 103.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172F4A

    #172F4A

    oklch(30% 0.058 252.7)

  • #462126

    #462126

    oklch(30.1% 0.057 12.5)

  • #223414

    #223414

    oklch(30% 0.058 133.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172F4A

    #172F4A

    oklch(30% 0.058 252.7)

  • #412136

    #412136

    oklch(29.9% 0.058 341.4)

  • #3F2906

    #3F2906

    oklch(30.1% 0.058 74.2)

  • #0A3725

    #0A3725

    oklch(30.1% 0.058 162.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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