#131827

Closest named color: Rich Black (#0D1B2A). oklch(21.2% 0.031 269.5), rgb(19, 24, 39).

Aa

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

About this color

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

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

Values

HEX#131827
RGBrgb(19, 24, 39)
HSLhsl(225, 34%, 11%)
OKLCHoklch(21.2% 0.031 269.5)

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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7EAF1

    oklch(93.7% 0.01 267.4)

  3. Step 200

    200

    #D4D9E7

    oklch(88.6% 0.02 270.2)

  4. Step 300

    300

    #B7C0D9

    oklch(80.9% 0.037 269.8)

  5. Step 400

    400

    #92A0C6

    oklch(70.8% 0.058 269.1)

  6. Step 500

    500

    #7788B7

    oklch(63.1% 0.074 268.9)

  7. Step 600

    600

    #6071A3

    oklch(55.6% 0.081 269.3)

  8. Step 700

    700

    #505E8C

    oklch(49% 0.076 270.5)

  9. Step 800

    800

    #414D72

    oklch(42.6% 0.064 269.8)

  10. Step 900

    900

    #37405C

    oklch(37.6% 0.05 270.2)

  11. Step 950

    950 (this color)

    #131827

    oklch(21.2% 0.031 269.5)

Export this scale for Tailwind in the Tailwind colors tool

#131827 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)#1319280.004
Deuteranopia (no green cones)#1118270.003
Tritanopia (no blue cones)#0C1B1D0.028
Achromatopsia (no color)#1818180.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #131827

    #131827

    oklch(21.2% 0.031 269.5)

  • #1E1807

    #1E1807

    oklch(21.1% 0.031 90.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #131827

    #131827

    oklch(21.2% 0.031 269.5)

  • #0A1B25

    #0A1B25

    oklch(21.3% 0.03 236.4)

  • #1B1525

    #1B1525

    oklch(21.1% 0.032 300.9)

Open the analogous palette in the generator

Split complementary

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

  • #131827

    #131827

    oklch(21.2% 0.031 269.5)

  • #23150A

    #23150A

    oklch(21.1% 0.03 58.3)

  • #171B0A

    #171B0A

    oklch(21.3% 0.031 120)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #131827

    #131827

    oklch(21.2% 0.031 269.5)

  • #251310

    #251310

    oklch(21.1% 0.031 30.1)

  • #0E1D11

    #0E1D11

    oklch(21.3% 0.031 149.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #131827

    #131827

    oklch(21.2% 0.031 269.5)

  • #241318

    #241318

    oklch(21.2% 0.029 0.8)

  • #1E1807

    #1E1807

    oklch(21.1% 0.031 90.5)

  • #061D19

    #061D19

    oklch(21.1% 0.03 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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