#172837

Closest named color: Oxford Blue (#1B263B). oklch(26.9% 0.036 246.3), rgb(23, 40, 55).

Aa

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

About this color

#172837 is a dark, muted blue. In OKLCH its lightness is 27%, its chroma 0.036 and its hue 246°. 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 15.05:1.

Hue familyBlues
Lightnessdark (27%)
Chromamuted (0.036)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.39:1
White text15.05:1

Values

HEX#172837
RGBrgb(23, 40, 55)
HSLhsl(208, 41%, 15%)
OKLCHoklch(26.9% 0.036 246.3)

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 #172837 15.05:1 AAA Lc -104.7 Preferred for body text
Black text on #172837 1.39:1 Fails Lc 0.0 Not readable
#172837 text on white 15.05:1 AAA Lc 101.9 Preferred for body text
#172837 text on black 1.39: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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CDDBE8

    oklch(88.5% 0.023 246.1)

  4. Step 300

    300

    #ABC4DB

    oklch(80.9% 0.042 246.1)

  5. Step 400

    400

    #7DA5C9

    oklch(70.6% 0.069 246.1)

  6. Step 500

    500

    #5B8FBC

    oklch(63.2% 0.088 245.9)

  7. Step 600

    600

    #4078A8

    oklch(55.6% 0.096 246.5)

  8. Step 700

    700

    #326590

    oklch(49.1% 0.088 246.3)

  9. Step 800

    800

    #2A5275

    oklch(42.6% 0.074 247)

  10. Step 900

    900

    #27445E

    oklch(37.6% 0.057 247)

  11. Step 950

    950 (this color)

    #172837

    oklch(26.9% 0.036 246.3)

Export this scale for Tailwind in the Tailwind colors tool

#172837 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)#2228380.017
Deuteranopia (no green cones)#1E25370.014
Tritanopia (no blue cones)#082C2D0.031
Achromatopsia (no color)#2626260.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #172837

    #172837

    oklch(26.9% 0.036 246.3)

  • #322312

    #322312

    oklch(27% 0.036 68.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172837

    #172837

    oklch(26.9% 0.036 246.3)

  • #0E2B32

    #0E2B32

    oklch(27.1% 0.037 216.1)

  • #212538

    #212538

    oklch(27% 0.036 274.6)

Open the analogous palette in the generator

Split complementary

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

  • #172837

    #172837

    oklch(26.9% 0.036 246.3)

  • #36201A

    #36201A

    oklch(27% 0.036 36)

  • #2B2611

    #2B2611

    oklch(26.8% 0.035 96.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172837

    #172837

    oklch(26.9% 0.036 246.3)

  • #351F23

    #351F23

    oklch(26.9% 0.035 7.8)

  • #222A16

    #222A16

    oklch(27.1% 0.037 126.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172837

    #172837

    oklch(26.9% 0.036 246.3)

  • #321F2D

    #321F2D

    oklch(26.9% 0.038 336.7)

  • #322312

    #322312

    oklch(27% 0.036 68.7)

  • #172C1F

    #172C1F

    oklch(27.1% 0.037 155.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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