#151E31

Closest named color: Rich Black (#0D1B2A). oklch(23.7% 0.039 264.3), rgb(21, 30, 49).

Aa

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

About this color

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

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

Values

HEX#151E31
RGBrgb(21, 30, 49)
HSLhsl(221, 40%, 14%)
OKLCHoklch(23.7% 0.039 264.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 #151E31 16.64:1 AAA Lc -106.0 Preferred for body text
Black text on #151E31 1.26:1 Fails Lc 0.0 Not readable
#151E31 text on white 16.64:1 AAA Lc 103.5 Preferred for body text
#151E31 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D1D9EB

    oklch(88.5% 0.026 266.6)

  4. Step 300

    300

    #B2C1DF

    oklch(80.9% 0.046 264.3)

  5. Step 400

    400

    #89A0D0

    oklch(70.6% 0.075 264.7)

  6. Step 500

    500

    #6C88C3

    oklch(63% 0.095 264.4)

  7. Step 600

    600

    #5572B0

    oklch(55.7% 0.103 264.3)

  8. Step 700

    700

    #455F97

    oklch(49.1% 0.096 264.3)

  9. Step 800

    800

    #394E7A

    oklch(42.8% 0.078 264)

  10. Step 900

    900

    #314163

    oklch(37.8% 0.062 264.4)

  11. Step 950

    950 (this color)

    #151E31

    oklch(23.7% 0.039 264.3)

Export this scale for Tailwind in the Tailwind colors tool

#151E31 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)#1720320.008
Deuteranopia (no green cones)#141D310.004
Tritanopia (no blue cones)#0A22250.034
Achromatopsia (no color)#1E1E1E0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #151E31

    #151E31

    oklch(23.7% 0.039 264.3)

  • #271D06

    #271D06

    oklch(23.7% 0.04 85.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151E31

    #151E31

    oklch(23.7% 0.039 264.3)

  • #08212E

    #08212E

    oklch(23.5% 0.039 234.6)

  • #201B2F

    #201B2F

    oklch(23.8% 0.038 294.8)

Open the analogous palette in the generator

Split complementary

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

  • #151E31

    #151E31

    oklch(23.7% 0.039 264.3)

  • #2D190C

    #2D190C

    oklch(23.7% 0.039 52.8)

  • #1E2009

    #1E2009

    oklch(23.5% 0.039 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151E31

    #151E31

    oklch(23.7% 0.039 264.3)

  • #2F1715

    #2F1715

    oklch(23.8% 0.039 25.5)

  • #122312

    #122312

    oklch(23.5% 0.039 144.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151E31

    #151E31

    oklch(23.7% 0.039 264.3)

  • #2D1620

    #2D1620

    oklch(23.6% 0.04 353.1)

  • #271D06

    #271D06

    oklch(23.7% 0.04 85.6)

  • #05241D

    #05241D

    oklch(23.5% 0.039 175)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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