#172041

Closest named color: Oxford Blue (#1B263B). oklch(25.5% 0.063 270), rgb(23, 32, 65).

Aa

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

About this color

#172041 is a dark, muted blue. In OKLCH its lightness is 25%, its chroma 0.063 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.026 away. White text reads best on it, at 15.91:1.

Hue familyBlues
Lightnessdark (25%)
Chromamuted (0.063)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.31:1
White text15.91:1

Values

HEX#172041
RGBrgb(23, 32, 65)
HSLhsl(227, 48%, 17%)
OKLCHoklch(25.5% 0.063 270)

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 #172041 15.91:1 AAA Lc -105.4 Preferred for body text
Black text on #172041 1.31:1 Fails Lc 0.0 Not readable
#172041 text on white 15.91:1 AAA Lc 102.8 Preferred for body text
#172041 text on black 1.31: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CED8F6

    oklch(88.4% 0.043 270.9)

  4. Step 300

    300

    #ADBFF2

    oklch(80.9% 0.075 269.5)

  5. Step 400

    400

    #839CEC

    oklch(70.7% 0.121 269.9)

  6. Step 500

    500

    #6681E6

    oklch(63.1% 0.155 270.2)

  7. Step 600

    600

    #4F69D4

    oklch(55.8% 0.167 270)

  8. Step 700

    700

    #4056B7

    oklch(49% 0.155 270.1)

  9. Step 800

    800

    #344794

    oklch(42.6% 0.128 269.8)

  10. Step 900

    900

    #2D3C76

    oklch(37.6% 0.101 270.1)

  11. Step 950

    950 (this color)

    #172041

    oklch(25.5% 0.063 270)

Export this scale for Tailwind in the Tailwind colors tool

#172041 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)#1124420.014
Deuteranopia (no green cones)#0C20400.014
Tritanopia (no blue cones)#01272D0.056
Achromatopsia (no color)#2222220.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #172041

    #172041

    oklch(25.5% 0.063 270)

  • #2C2100

    #2C2100

    oklch(25.4% 0.052 90.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172041

    #172041

    oklch(25.5% 0.063 270)

  • #00263C

    #00263C

    oklch(25.6% 0.058 239.7)

  • #281A3C

    #281A3C

    oklch(25.4% 0.064 301)

Open the analogous palette in the generator

Split complementary

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

  • #172041

    #172041

    oklch(25.5% 0.063 270)

  • #371A00

    #371A00

    oklch(25.4% 0.06 59.2)

  • #1F2700

    #1F2700

    oklch(25.6% 0.061 120.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172041

    #172041

    oklch(25.5% 0.063 270)

  • #3C150F

    #3C150F

    oklch(25.5% 0.063 30.8)

  • #052B11

    #052B11

    oklch(25.5% 0.064 149.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172041

    #172041

    oklch(25.5% 0.063 270)

  • #3A1321

    #3A1321

    oklch(25.4% 0.064 0.3)

  • #2C2100

    #2C2100

    oklch(25.4% 0.052 90.4)

  • #002A24

    #002A24

    oklch(25.5% 0.046 180.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #172041 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.