#151D31

Closest named color: Rich Black (#0D1B2A). oklch(23.4% 0.041 266.7), rgb(21, 29, 49).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.041)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.25:1
White text16.77:1

Values

HEX#151D31
RGBrgb(21, 29, 49)
HSLhsl(223, 40%, 14%)
OKLCHoklch(23.4% 0.041 266.7)

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 #151D31 16.77:1 AAA Lc -106.1 Preferred for body text
Black text on #151D31 1.25:1 Fails Lc 0.0 Not readable
#151D31 text on white 16.77:1 AAA Lc 103.7 Preferred for body text
#151D31 text on black 1.25: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D1D9EB

    oklch(88.5% 0.026 266.6)

  4. Step 300

    300

    #B2C0E1

    oklch(80.8% 0.049 267.1)

  5. Step 400

    400

    #8BA0D1

    oklch(70.8% 0.076 266.5)

  6. Step 500

    500

    #6E87C5

    oklch(63% 0.098 266.8)

  7. Step 600

    600

    #5770B2

    oklch(55.5% 0.107 267.2)

  8. Step 700

    700

    #475E99

    oklch(49.1% 0.099 266.7)

  9. Step 800

    800

    #3A4D7C

    oklch(42.7% 0.082 266.3)

  10. Step 900

    900

    #324064

    oklch(37.7% 0.065 267.1)

  11. Step 950

    950 (this color)

    #151D31

    oklch(23.4% 0.041 266.7)

Export this scale for Tailwind in the Tailwind colors tool

#151D31 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)#161F320.007
Deuteranopia (no green cones)#131C310.005
Tritanopia (no blue cones)#0A21240.036
Achromatopsia (no color)#1D1D1D0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #151D31

    #151D31

    oklch(23.4% 0.041 266.7)

  • #261C05

    #261C05

    oklch(23.3% 0.04 85.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151D31

    #151D31

    oklch(23.4% 0.041 266.7)

  • #08202E

    #08202E

    oklch(23.2% 0.04 237.6)

  • #20192F

    #20192F

    oklch(23.3% 0.042 297.7)

Open the analogous palette in the generator

Split complementary

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

  • #151D31

    #151D31

    oklch(23.4% 0.041 266.7)

  • #2C1809

    #2C1809

    oklch(23.3% 0.041 56)

  • #1D2008

    #1D2008

    oklch(23.4% 0.04 115.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151D31

    #151D31

    oklch(23.4% 0.041 266.7)

  • #2E1613

    #2E1613

    oklch(23.4% 0.04 28)

  • #102312

    #102312

    oklch(23.4% 0.041 146.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151D31

    #151D31

    oklch(23.4% 0.041 266.7)

  • #2D151E

    #2D151E

    oklch(23.4% 0.041 356.9)

  • #261C05

    #261C05

    oklch(23.3% 0.04 85.7)

  • #03241D

    #03241D

    oklch(23.4% 0.041 175.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #151D31 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.