#172242

Closest named color: Oxford Blue (#1B263B). oklch(26.1% 0.062 267.7), rgb(23, 34, 66).

Aa

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

About this color

#172242 is a dark, muted blue. In OKLCH its lightness is 26%, its chroma 0.062 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.022 away. White text reads best on it, at 15.62:1.

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.062)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.34:1
White text15.62:1

Values

HEX#172242
RGBrgb(23, 34, 66)
HSLhsl(225, 48%, 17%)
OKLCHoklch(26.1% 0.062 267.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 #172242 15.62:1 AAA Lc -105.1 Preferred for body text
Black text on #172242 1.34:1 Fails Lc 0.0 Not readable
#172242 text on white 15.62:1 AAA Lc 102.5 Preferred for body text
#172242 text on black 1.34: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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ACC0F1

    oklch(81% 0.073 267.4)

  5. Step 400

    400

    #819DEA

    oklch(70.6% 0.118 268.1)

  6. Step 500

    500

    #6283E4

    oklch(63.1% 0.151 267.8)

  7. Step 600

    600

    #4A6AD2

    oklch(55.5% 0.164 267.9)

  8. Step 700

    700

    #3B58B6

    oklch(49.1% 0.153 267.6)

  9. Step 800

    800

    #314993

    oklch(42.8% 0.125 267.4)

  10. Step 900

    900

    #2B3D75

    oklch(37.6% 0.098 268)

  11. Step 950

    950 (this color)

    #172242

    oklch(26.1% 0.062 267.7)

Export this scale for Tailwind in the Tailwind colors tool

#172242 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)#1426430.013
Deuteranopia (no green cones)#0E22410.012
Tritanopia (no blue cones)#00292E0.056
Achromatopsia (no color)#2323230.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #172242

    #172242

    oklch(26.1% 0.062 267.7)

  • #2F2200

    #2F2200

    oklch(26% 0.053 87.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172242

    #172242

    oklch(26.1% 0.062 267.7)

  • #00273C

    #00273C

    oklch(25.9% 0.057 238)

  • #281C3E

    #281C3E

    oklch(26% 0.063 298.2)

Open the analogous palette in the generator

Split complementary

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

  • #172242

    #172242

    oklch(26.1% 0.062 267.7)

  • #3A1B00

    #3A1B00

    oklch(26.1% 0.063 57.9)

  • #222800

    #222800

    oklch(26.2% 0.061 118)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172242

    #172242

    oklch(26.1% 0.062 267.7)

  • #3D1613

    #3D1613

    oklch(26% 0.062 26.7)

  • #0A2C11

    #0A2C11

    oklch(26.1% 0.063 147.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172242

    #172242

    oklch(26.1% 0.062 267.7)

  • #3B1524

    #3B1524

    oklch(26% 0.063 357.6)

  • #2F2200

    #2F2200

    oklch(26% 0.053 87.4)

  • #002C24

    #002C24

    oklch(26.2% 0.049 177)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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