#172941

Closest named color: Oxford Blue (#1B263B). oklch(27.8% 0.051 256), rgb(23, 41, 65).

Aa

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

About this color

#172941 is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.051 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.013 away. White text reads best on it, at 14.68:1.

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.051)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.42:1
White text14.68:1

Values

HEX#172941
RGBrgb(23, 41, 65)
HSLhsl(214, 48%, 17%)
OKLCHoklch(27.8% 0.051 256)

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 #172941 14.68:1 AAA Lc -104.3 Preferred for body text
Black text on #172941 1.42:1 Fails Lc 0.0 Not readable
#172941 text on white 14.68:1 AAA Lc 101.4 Preferred for body text
#172941 text on black 1.42: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #CBDBF0

    oklch(88.6% 0.034 255.2)

  4. Step 300

    300

    #A8C3E8

    oklch(81% 0.06 256.3)

  5. Step 400

    400

    #79A3DC

    oklch(70.7% 0.096 256.2)

  6. Step 500

    500

    #558BD2

    oklch(63.1% 0.122 255.8)

  7. Step 600

    600

    #3974C0

    oklch(55.7% 0.134 255.8)

  8. Step 700

    700

    #2B61A5

    oklch(49.2% 0.123 255.6)

  9. Step 800

    800

    #254F86

    oklch(42.7% 0.103 256.1)

  10. Step 900

    900

    #23426B

    oklch(37.7% 0.08 256.1)

  11. Step 950

    950 (this color)

    #172941

    oklch(27.8% 0.051 256)

Export this scale for Tailwind in the Tailwind colors tool

#172941 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)#1F2B420.014
Deuteranopia (no green cones)#1A26410.010
Tritanopia (no blue cones)#002E320.043
Achromatopsia (no color)#2828280.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #172941

    #172941

    oklch(27.8% 0.051 256)

  • #372507

    #372507

    oklch(28% 0.051 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172941

    #172941

    oklch(27.8% 0.051 256)

  • #032D3B

    #032D3B

    oklch(27.7% 0.05 225.8)

  • #262440

    #262440

    oklch(27.7% 0.051 285.8)

Open the analogous palette in the generator

Split complementary

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

  • #172941

    #172941

    oklch(27.8% 0.051 256)

  • #3D2012

    #3D2012

    oklch(27.9% 0.051 45.8)

  • #2C2A08

    #2C2A08

    oklch(27.9% 0.051 106)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172941

    #172941

    oklch(27.8% 0.051 256)

  • #3E1D20

    #3E1D20

    oklch(27.8% 0.051 15.2)

  • #1D2E14

    #1D2E14

    oklch(27.8% 0.05 135.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172941

    #172941

    oklch(27.8% 0.051 256)

  • #3A1E2E

    #3A1E2E

    oklch(27.9% 0.05 345.5)

  • #372507

    #372507

    oklch(28% 0.051 76.4)

  • #083023

    #083023

    oklch(27.8% 0.05 167)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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