#171E30

Closest named color: Rich Black (#0D1B2A). oklch(23.8% 0.036 267.4), rgb(23, 30, 48).

Aa

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

About this color

#171E30 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.036 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.022 away. White text reads best on it, at 16.60:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.036)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.26:1
White text16.60:1

Values

HEX#171E30
RGBrgb(23, 30, 48)
HSLhsl(223, 35%, 14%)
OKLCHoklch(23.8% 0.036 267.4)

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 #171E30 16.60:1 AAA Lc -106.0 Preferred for body text
Black text on #171E30 1.26:1 Fails Lc 0.0 Not readable
#171E30 text on white 16.60:1 AAA Lc 103.5 Preferred for body text
#171E30 text on black 1.26: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200

    #D2D9EA

    oklch(88.5% 0.025 267.9)

  4. Step 300

    300

    #B4C0DD

    oklch(80.8% 0.043 267.6)

  5. Step 400

    400

    #8EA0CC

    oklch(70.8% 0.068 267.3)

  6. Step 500

    500

    #7288BF

    oklch(63.2% 0.087 267.2)

  7. Step 600

    600

    #5A71AC

    oklch(55.6% 0.096 267.1)

  8. Step 700

    700

    #4A5E93

    oklch(49% 0.089 267.4)

  9. Step 800

    800

    #3D4D78

    oklch(42.7% 0.075 267.7)

  10. Step 900

    900

    #344060

    oklch(37.6% 0.057 267.9)

  11. Step 950

    950 (this color)

    #171E30

    oklch(23.8% 0.036 267.4)

Export this scale for Tailwind in the Tailwind colors tool

#171E30 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)#1820310.007
Deuteranopia (no green cones)#151D300.005
Tritanopia (no blue cones)#0E22240.034
Achromatopsia (no color)#1E1E1E0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #171E30

    #171E30

    oklch(23.8% 0.036 267.4)

  • #261E09

    #261E09

    oklch(23.9% 0.036 88.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171E30

    #171E30

    oklch(23.8% 0.036 267.4)

  • #0C212E

    #0C212E

    oklch(23.7% 0.037 238.2)

  • #211B2E

    #211B2E

    oklch(23.9% 0.037 298.1)

Open the analogous palette in the generator

Split complementary

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

  • #171E30

    #171E30

    oklch(23.8% 0.036 267.4)

  • #2C1A0D

    #2C1A0D

    oklch(23.8% 0.036 55.8)

  • #1D210C

    #1D210C

    oklch(23.7% 0.037 118.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171E30

    #171E30

    oklch(23.8% 0.036 267.4)

  • #2E1815

    #2E1815

    oklch(23.8% 0.036 28.4)

  • #122315

    #122315

    oklch(23.6% 0.035 148.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171E30

    #171E30

    oklch(23.8% 0.036 267.4)

  • #2C171F

    #2C171F

    oklch(23.7% 0.036 355.8)

  • #261E09

    #261E09

    oklch(23.9% 0.036 88.6)

  • #07241E

    #07241E

    oklch(23.6% 0.036 176.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #171E30 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.