#151F2E

Closest named color: Rich Black (#0D1B2A). oklch(23.7% 0.032 258.3), rgb(21, 31, 46).

Aa

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

About this color

#151F2E is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.032 and its hue 258°. 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.57:1.

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

Values

HEX#151F2E
RGBrgb(21, 31, 46)
HSLhsl(216, 37%, 13%)
OKLCHoklch(23.7% 0.032 258.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 #151F2E 16.57:1 AAA Lc -105.9 Preferred for body text
Black text on #151F2E 1.26:1 Fails Lc 0.0 Not readable
#151F2E text on white 16.57:1 AAA Lc 103.5 Preferred for body text
#151F2E 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D1DAE8

    oklch(88.6% 0.022 259.2)

  4. Step 300

    300

    #B2C2DA

    oklch(81% 0.038 258.4)

  5. Step 400

    400

    #89A2C7

    oklch(70.6% 0.061 258.1)

  6. Step 500

    500

    #6C8BB9

    oklch(63.1% 0.078 258.1)

  7. Step 600

    600

    #5474A5

    oklch(55.5% 0.085 258.7)

  8. Step 700

    700

    #44618E

    oklch(49% 0.081 258.9)

  9. Step 800

    800

    #385073

    oklch(42.8% 0.066 257.7)

  10. Step 900

    900

    #31425D

    oklch(37.7% 0.052 259.4)

  11. Step 950

    950 (this color)

    #151F2E

    oklch(23.7% 0.032 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#151F2E 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)#19202F0.008
Deuteranopia (no green cones)#171D2E0.007
Tritanopia (no blue cones)#0B22240.029
Achromatopsia (no color)#1F1F1F0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #151F2E

    #151F2E

    oklch(23.7% 0.032 258.3)

  • #271D0C

    #271D0C

    oklch(23.8% 0.033 79.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151F2E

    #151F2E

    oklch(23.7% 0.032 258.3)

  • #0C222B

    #0C222B

    oklch(23.9% 0.033 227.3)

  • #1E1C2D

    #1E1C2D

    oklch(23.7% 0.032 289.1)

Open the analogous palette in the generator

Split complementary

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

  • #151F2E

    #151F2E

    oklch(23.7% 0.032 258.3)

  • #2B1A11

    #2B1A11

    oklch(23.7% 0.032 48.6)

  • #20200D

    #20200D

    oklch(23.8% 0.033 108.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151F2E

    #151F2E

    oklch(23.7% 0.032 258.3)

  • #2C1819

    #2C1819

    oklch(23.7% 0.032 16.6)

  • #172213

    #172213

    oklch(23.6% 0.032 137.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151F2E

    #151F2E

    oklch(23.7% 0.032 258.3)

  • #2A1821

    #2A1821

    oklch(23.7% 0.033 348.5)

  • #271D0C

    #271D0C

    oklch(23.8% 0.033 79.5)

  • #0D241C

    #0D241C

    oklch(23.9% 0.033 168.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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