#13172B

Closest named color: Rich Black (#0D1B2A). oklch(21.2% 0.04 273.9), rgb(19, 23, 43).

Aa

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

About this color

#13172B is a very dark, muted blue. In OKLCH its lightness is 21%, its chroma 0.040 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.017 away. White text reads best on it, at 17.71:1.

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.040)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.71:1

Values

HEX#13172B
RGBrgb(19, 23, 43)
HSLhsl(230, 39%, 12%)
OKLCHoklch(21.2% 0.04 273.9)

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 #13172B 17.71:1 AAA Lc -106.7 Preferred for body text
Black text on #13172B 1.18:1 Fails Lc 0.0 Not readable
#13172B text on white 17.71:1 AAA Lc 104.5 Preferred for body text
#13172B text on black 1.18: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D3D8EB

    oklch(88.4% 0.027 274.1)

  4. Step 300

    300

    #B7BFE0

    oklch(80.9% 0.047 274.6)

  5. Step 400

    400

    #919ED0

    oklch(70.7% 0.075 273.1)

  6. Step 500

    500

    #7785C4

    oklch(63.1% 0.096 273.8)

  7. Step 600

    600

    #606EB1

    oklch(55.7% 0.105 273.6)

  8. Step 700

    700

    #505B98

    oklch(49% 0.098 274.5)

  9. Step 800

    800

    #414B7B

    oklch(42.7% 0.081 273.6)

  10. Step 900

    900

    #373F63

    oklch(37.7% 0.063 273.5)

  11. Step 950

    950 (this color)

    #13172B

    oklch(21.2% 0.04 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#13172B 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)#10192C0.008
Deuteranopia (no green cones)#0E172B0.008
Tritanopia (no blue cones)#0B1B1E0.036
Achromatopsia (no color)#1818180.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #13172B

    #13172B

    oklch(21.2% 0.04 273.9)

  • #1F1802

    #1F1802

    oklch(21.2% 0.04 92.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #13172B

    #13172B

    oklch(21.2% 0.04 273.9)

  • #061A2A

    #061A2A

    oklch(21.1% 0.041 245.1)

  • #1D1428

    #1D1428

    oklch(21.3% 0.04 303.9)

Open the analogous palette in the generator

Split complementary

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

  • #13172B

    #13172B

    oklch(21.2% 0.04 273.9)

  • #251404

    #251404

    oklch(21.1% 0.04 63.3)

  • #151C06

    #151C06

    oklch(21.3% 0.04 124.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #13172B

    #13172B

    oklch(21.2% 0.04 273.9)

  • #28110C

    #28110C

    oklch(21.1% 0.04 33.3)

  • #081E10

    #081E10

    oklch(21.2% 0.04 153.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #13172B

    #13172B

    oklch(21.2% 0.04 273.9)

  • #281017

    #281017

    oklch(21.2% 0.041 2.6)

  • #1F1802

    #1F1802

    oklch(21.2% 0.04 92.8)

  • #001E1B

    #001E1B

    oklch(21.1% 0.037 185.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #13172B 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.